textbender.g.util
Class MultiMap.UnmodifiableMultiMap<K,V>
java.lang.Object
MultiMapW<K,V>
MultiMap.UnmodifiableMultiMap<K,V>
- All Implemented Interfaces:
- MultiMap<K,V>
- Enclosing interface:
- MultiMap<K,V>
@ThreadRestricted(value="per underlying multi-map")
public static final class MultiMap.UnmodifiableMultiMap<K,V>
- extends MultiMapW<K,V>
A multi-map that wraps an underlying multi-map to make it unmodifiable.
Method Summary |
void |
put(K key,
V value)
Adds a value for the specified key. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiMap.UnmodifiableMultiMap
MultiMap.UnmodifiableMultiMap(MultiMap<K,V> multiMap)
put
public void put(K key,
V value)
- Description copied from interface:
MultiMap
- Adds a value for the specified key.
- Specified by:
put
in interface MultiMap<K,V>
- Overrides:
put
in class MultiMapW<K,V>
- Throws:
UnsupportedOperationException