|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.carrotsearch.hppc.sorting.IndirectComparator.AscendingIntComparator
com.carrotsearch.hppc.sorting.IndirectComparator.DescendingIntComparator
public static class IndirectComparator.DescendingIntComparator
A reverse-order comparator for integers.
| Nested Class Summary |
|---|
| Constructor Summary | |
|---|---|
IndirectComparator.DescendingIntComparator(int[] array)
|
|
| Method Summary | |
|---|---|
int |
compare(int indexA,
int indexB)
See class documentation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IndirectComparator.DescendingIntComparator(int[] array)
| Method Detail |
|---|
public final int compare(int indexA,
int indexB)
IndirectComparator
compare in interface IndirectComparatorcompare in class IndirectComparator.AscendingIntComparator
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||