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