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