CompareType - the type that is being comparedpublic static class Comparators.ComparatorReverser<CompareType> extends Object implements Comparator<CompareType>, Serializable
| Constructor and Description |
|---|
Comparators.ComparatorReverser(Comparator<CompareType> instance) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(CompareType first,
CompareType second) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequalspublic Comparators.ComparatorReverser(Comparator<CompareType> instance)
public int compare(CompareType first, CompareType second)
compare in interface Comparator<CompareType>Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.