public class ImmutableMapEntry<K,E>
extends java.lang.Object
implements java.util.Map.Entry<K,E>
Constructor and Description |
---|
ImmutableMapEntry(K key,
E value)
Constructor of an immutable map entry.
|
Modifier and Type | Method and Description |
---|---|
K |
getKey() |
E |
getValue() |
E |
setValue(E value)
Note that this method fails with an AssertionError because the object is read only.
|
java.lang.String |
toString() |