|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.h2.dev.util.ArrayUtils
public class ArrayUtils
Array utility methods.
| Constructor Summary | |
|---|---|
ArrayUtils()
|
|
| Method Summary | ||
|---|---|---|
static
|
binaryInsertionSort(T[] d,
int left,
int right,
java.util.Comparator<T> comp)
Sort an array using binary insertion sort |
|
static
|
insertionSort(T[] d,
int left,
int right,
java.util.Comparator<T> comp)
Sort an array using insertion sort |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ArrayUtils()
| Method Detail |
|---|
public static <T> void binaryInsertionSort(T[] d,
int left,
int right,
java.util.Comparator<T> comp)
T - the typed - the dataleft - the index of the leftmost elementright - the index of the rightmost elementcomp - the comparison class
public static <T> void insertionSort(T[] d,
int left,
int right,
java.util.Comparator<T> comp)
T - the typed - the dataleft - the index of the leftmost elementright - the index of the rightmost elementcomp - the comparison class
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||