K - The type of the key.MK - the generic type of the map key.MV - the generic type of the map value.public class KeyMapPairKeyComparator<K extends Comparable<K>,MK,MV> extends Object implements Comparator<KeyMapPair<K,MK,MV>>
KeyMapPairKeyComparator compares KeyMapPair objects over the key
where the key have to implements the Comparable interface.| Constructor and Description |
|---|
KeyMapPairKeyComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(KeyMapPair<K,MK,MV> o1,
KeyMapPair<K,MK,MV> o2) |
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(KeyMapPair<K,MK,MV> o1, KeyMapPair<K,MK,MV> o2)
compare in interface Comparator<KeyMapPair<K extends Comparable<K>,MK,MV>>Copyright © 2015–2018 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.