public static class AbstractMap4D.SimpleImmutableEntry<K,V>
extends java.lang.Object
implements java.util.Map.Entry<K,V>
Entry#setValue(V) for this class
simply throws an UnsupportedOperationException,
thus preventing changes being made. This is useful when
a static thread-safe view of a map is required.| Constructor and Description |
|---|
SimpleImmutableEntry(K key,
V value) |
SimpleImmutableEntry(java.util.Map.Entry<? extends K,? extends V> entry) |
| Modifier and Type | Method and Description |
|---|---|
K |
getKey() |
V |
getValue() |
V |
setValue(V value) |