T
- public class EntryComparator.Key<T extends Comparable> extends Object implements Comparator<Map.Entry<T,?>>
Map.Entry
s by their keysConstructor and Description |
---|
EntryComparator.Key() |
Modifier and Type | Method and Description |
---|---|
EntryComparator.Key<T> |
asc() |
int |
compare(Map.Entry<T,?> o1,
Map.Entry<T,?> o2) |
EntryComparator.Key<T> |
desc() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
public int compare(Map.Entry<T,?> o1, Map.Entry<T,?> o2)
compare
in interface Comparator<Map.Entry<T extends Comparable,?>>
public EntryComparator.Key<T> asc()
public EntryComparator.Key<T> desc()
Copyright © 2012. All Rights Reserved.