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