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