Liferay 6.1.2-ce-ga3

com.liferay.portal.kernel.util
Class KeyValuePairComparator

java.lang.Object
  extended by com.liferay.portal.kernel.util.KeyValuePairComparator
All Implemented Interfaces:
Comparator<KeyValuePair>

public class KeyValuePairComparator
extends Object
implements Comparator<KeyValuePair>


Constructor Summary
KeyValuePairComparator()
           
KeyValuePairComparator(boolean ascending)
           
KeyValuePairComparator(boolean byKey, boolean ascending)
           
 
Method Summary
 int compare(KeyValuePair kvp1, KeyValuePair kvp2)
           
 
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

KeyValuePairComparator

public KeyValuePairComparator()

KeyValuePairComparator

public KeyValuePairComparator(boolean ascending)

KeyValuePairComparator

public KeyValuePairComparator(boolean byKey,
                              boolean ascending)
Method Detail

compare

public int compare(KeyValuePair kvp1,
                   KeyValuePair kvp2)
Specified by:
compare in interface Comparator<KeyValuePair>

Liferay 6.1.2-ce-ga3