|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.groiss.ds.PairComparator<K,V>
public class PairComparator<K,V>
Use this comparator to sort Persistent objects or other KeyValuePairs. The compare method compares the values using string compare ignoring case
Constructor Summary | |
---|---|
PairComparator()
|
Method Summary | |
---|---|
int |
compare(KeyValuePair<K,V> p1,
KeyValuePair<K,V> p2)
|
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 |
---|
public PairComparator()
Method Detail |
---|
public int compare(KeyValuePair<K,V> p1, KeyValuePair<K,V> p2)
compare
in interface java.util.Comparator<KeyValuePair<K,V>>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |