public static interface Map.Entry<K,V>
Modifier and Type | Method and Description |
---|---|
static <K extends Comparable<? super K>,V> |
comparingByKey() |
static <K,V> Comparator<Map.Entry<K,V>> |
comparingByKey(Comparator<? super K> cmp) |
static <K,V extends Comparable<? super V>> |
comparingByValue() |
static <K,V> Comparator<Map.Entry<K,V>> |
comparingByValue(Comparator<? super V> cmp) |
boolean |
equals(Object o) |
K |
getKey() |
V |
getValue() |
int |
hashCode() |
V |
setValue(V value) |
K getKey()
V getValue()
static <K extends Comparable<? super K>,V> Comparator<Map.Entry<K,V>> comparingByKey()
static <K,V> Comparator<Map.Entry<K,V>> comparingByKey(Comparator<? super K> cmp)
static <K,V extends Comparable<? super V>> Comparator<Map.Entry<K,V>> comparingByValue()
static <K,V> Comparator<Map.Entry<K,V>> comparingByValue(Comparator<? super V> cmp)
Copyright © 2018. All rights reserved.