Map.Entry that throws
UnsupportedOperationException when setValue is called.
| Access | Constructor and Description |
|---|---|
| public | UnmodifiableMapEntry(final K
the key for the entry, may be null key, final V the value for the entry, may be null value)Constructs a new entry with the specified key and given value. |
| public | UnmodifiableMapEntry(final KeyValue<? extends K, ? extends V>
the pair to copy, must not be null pair)Constructs a new entry from the specified |
| public | UnmodifiableMapEntry(final Map.
the entry to copy, must not be null entryConstructs a new entry from the specified |
| Modifier and Type | Method and Description |
|---|---|
| public V | Returns: the previous valuethe new value value)Overrides org. Implements java. |
| UnmodifiableMapEntry | back to summary |
|---|---|
| public UnmodifiableMapEntry(final K key, final V value) Constructs a new entry with the specified key and given value.
| |
| UnmodifiableMapEntry | back to summary |
|---|---|
| public UnmodifiableMapEntry(final KeyValue<? extends K, ? extends V> pair) Constructs a new entry from the specified
| |
| UnmodifiableMapEntry | back to summary |
|---|---|
| public UnmodifiableMapEntry(final Map. Constructs a new entry from the specified
| |
| setValue | back to summary |
|---|---|
| public V setValue(final V value) Overrides org. Implements java. Throws UnsupportedOperationException.
| |