|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjml.utils.Utility.keyDescendComparator<K>
K
- Class type to be specified by declaration.public static class Utility.keyDescendComparator<K extends java.lang.Comparable<K>>
Generic comparator for TreeMap
to sort the keys in a decreasing order.
Constructor Summary | |
---|---|
Utility.keyDescendComparator()
|
Method Summary | |
---|---|
int |
compare(K k1,
K k2)
|
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 Utility.keyDescendComparator()
Method Detail |
---|
public int compare(K k1, K k2)
compare
in interface java.util.Comparator<K extends java.lang.Comparable<K>>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |