public static class U.ValueThenKeyComparator<K extends Comparable<? super K>,V extends Comparable<? super V>> extends Object implements Comparator<Map.Entry<K,V>>
| Constructor and Description |
|---|
ValueThenKeyComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Map.Entry<K,V> a,
Map.Entry<K,V> b) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic int compare(Map.Entry<K,V> a, Map.Entry<K,V> b)
compare in interface Comparator<Map.Entry<K extends Comparable<? super K>,V extends Comparable<? super V>>>Copyright © 2020. All rights reserved.