|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.ou.utils.SortUtils
public final class SortUtils
Constructor Summary | |
---|---|
SortUtils()
|
Method Summary | ||
---|---|---|
static
|
symmetricSort(K[] keys,
V[] values)
A generics-friendly sort method for symmetrically sorting a key array and a values array in place. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SortUtils()
Method Detail |
---|
public static <K extends java.lang.Comparable<K>,V> void symmetricSort(K[] keys, V[] values)
keys
- The key array to sort.values
- the values array. Should be the same size as keys.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |