Static Public Member Functions | |
| static void | sort (short[] a) |
| static void | sort (short[] a, int fromIndex, int toIndex) |
| static int | binarySearch (short[] a, int key) |
| static boolean | equals (short[] a, short a2[]) |
Definition at line 25 of file Arrays.java.
| static void fr.dyade.aaa.util.Arrays.sort | ( | short[] | a | ) | [static] |
Sorts the specified array of ints into ascending numerical order. The sorting algorithm is a tuned quicksort.
| a | the array to be sorted. |
Definition at line 32 of file Arrays.java.
| static void fr.dyade.aaa.util.Arrays.sort | ( | short[] | a, | |
| int | fromIndex, | |||
| int | toIndex | |||
| ) | [static] |
Sorts the specified range of the specified array of ints into ascending numerical order.
Definition at line 40 of file Arrays.java.
| static int fr.dyade.aaa.util.Arrays.binarySearch | ( | short[] | a, | |
| int | key | |||
| ) | [static] |
Searches the specified array of ints for the specified value using the binary search algorithm. The array must be sorted (as by the sort method, above) prior to making this call.
Definition at line 147 of file Arrays.java.
| static boolean fr.dyade.aaa.util.Arrays.equals | ( | short[] | a, | |
| short | a2[] | |||
| ) | [static] |
Returns true if the two specified arrays of shorts are equal to one another.
Definition at line 169 of file Arrays.java.
1.5.0