How to use binarySearch(float[] a, float key) method of Java.util.Arrays Class?

How to use binarySearch(float[] a, float key) method of Java.util.Arrays Class?