Liferay 6.2-ce-ga5

com.liferay.portal.kernel.util
Class ObjectValuePairComparator<K,V>

java.lang.Object
  extended by 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>>


Constructor Summary
ObjectValuePairComparator()
           
ObjectValuePairComparator(boolean ascending)
           
ObjectValuePairComparator(boolean byKey, boolean ascending)
           
 
Method Summary
 int compare(ObjectValuePair<K,V> ovp1, ObjectValuePair<K,V> ovp2)
           
 
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
 

Constructor Detail

ObjectValuePairComparator

public ObjectValuePairComparator()

ObjectValuePairComparator

public ObjectValuePairComparator(boolean ascending)

ObjectValuePairComparator

public ObjectValuePairComparator(boolean byKey,
                                 boolean ascending)
Method Detail

compare

public int compare(ObjectValuePair<K,V> ovp1,
                   ObjectValuePair<K,V> ovp2)
Specified by:
compare in interface Comparator<ObjectValuePair<K,V>>

Liferay 6.2-ce-ga5