ArrayUtils

Array utility methods.

Methods
static void binaryInsertionSort(T[] d, int left, int right, Comparator comp)
Sort an array using binary insertion sort
static void binaryInsertionSort(T[] d, int left, int right, Comparator comp)
Sort an array using binary insertion sort
Parameters:
d - the data
left - the index of the leftmost element
right - the index of the rightmost element
comp - the comparison class
static void insertionSort(T[] d, int left, int right, Comparator comp)
Sort an array using insertion sort
static void insertionSort(T[] d, int left, int right, Comparator comp)
Sort an array using insertion sort
Parameters:
d - the data
left - the index of the leftmost element
right - the index of the rightmost element
comp - the comparison class