Home | History | Annotate | Download | only in replicaisland

Lines Matching refs:array

26  * to pass over the array each time.  Currently this function uses Robert Cruse's suggestion
30 public void sort(Type[] array, int count, Comparator<Type> comparator) {
36 insertionSort(array, count, start, increment, comparator);
44 insertionSort(array, count, 0, 1, comparator );
58 public void insertionSort(Type[] array, int count, int start, int increment,
67 int delta = comparator.compare(array[j], array[k]);
72 temp = array[j];
74 array[j] = array[k];
77 } while ( j != start && comparator.compare(array[k], temp) > 0 );
78 array[j] = temp;