public class AbstractImmutableEntry<K,V> extends Object implements Map.Entry<K,V>, Serializable
| Constructor and Description |
|---|
AbstractImmutableEntry(K key,
V value) |
| Modifier and Type | Method and Description |
|---|---|
K |
getKey() |
static <K> Function<Map.Entry<K,?>,K> |
getKeyFunction()
Deprecated.
Since 6.2 - Use
Functions.getKeyFunction() instead. |
static <K,V> Function<Map.Entry<K,V>,Pair<K,V>> |
getPairFunction() |
V |
getValue() |
static <V> Function<Map.Entry<?,V>,V> |
getValueFunction()
Deprecated.
Since 6.2 - Use
Functions.getValueFunction() instead. |
V |
setValue(V value) |
String |
toString()
Returns a string representation of the form
{key}={value}. |
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitcomparingByKey, comparingByKey, comparingByValue, comparingByValue, equals, hashCode@Deprecated public static <K> Function<Map.Entry<K,?>,K> getKeyFunction()
Functions.getKeyFunction() instead.@Deprecated public static <V> Function<Map.Entry<?,V>,V> getValueFunction()
Functions.getValueFunction() instead.public V setValue(V value)
This implementation throws an UnsupportedOperationException. Override this method to support mutable
map entries.
Copyright © 2004–2016. All rights reserved.