public class MapComparator<K,V> extends Object implements Comparator<Map<K,V>>
Constructor and Description |
---|
MapComparator(K orderByKey,
boolean isDesc) |
Modifier and Type | Method and Description |
---|---|
int |
compare(Map<K,V> o1,
Map<K,V> o2) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
Copyright © 2013–2017 Alibaba Group. All rights reserved.