|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.tools.doclets.internal.toolkit.util.Group.MapKeyComparator
private static class Group.MapKeyComparator
Since we need to sort the keys in the reverse order(longest key first), the compare method in the implementing class is doing the reverse comparison.
| Constructor Summary | |
|---|---|
private |
Group.MapKeyComparator()
|
| Method Summary | |
|---|---|
int |
compare(java.lang.String key1,
java.lang.String key2)
|
| 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 |
|---|
private Group.MapKeyComparator()
| Method Detail |
|---|
public int compare(java.lang.String key1,
java.lang.String key2)
compare in interface java.util.Comparator<java.lang.String>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||