public class KeyValue<K,V> extends AbstractMap.SimpleEntry<K,V>
| Constructor and Description |
|---|
KeyValue(K key,
V value)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
static <K,V> KeyValue<K,V> |
of(K key,
V value)
|
equals, getKey, getValue, hashCode, setValue, toStringcomparingByKey, comparingByKey, comparingByValue, comparingByValue