com.liferay.portal.kernel.util
Class KeyValuePairComparator
java.lang.Object
com.liferay.portal.kernel.util.KeyValuePairComparator
- All Implemented Interfaces:
- Comparator<KeyValuePair>
public class KeyValuePairComparator
- extends Object
- implements Comparator<KeyValuePair>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KeyValuePairComparator
public KeyValuePairComparator()
KeyValuePairComparator
public KeyValuePairComparator(boolean ascending)
KeyValuePairComparator
public KeyValuePairComparator(boolean byKey,
boolean ascending)
compare
public int compare(KeyValuePair kvp1,
KeyValuePair kvp2)
- Specified by:
compare
in interface Comparator<KeyValuePair>