textbender.g.util
Class MultiMap.UnmodifiableMultiMap<K,V>

java.lang.Object
  extended by MultiMapW<K,V>
      extended by 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.


Nested Class Summary
 
Nested classes/interfaces inherited from interface MultiMap
MultiMap.U, MultiMap.UnmodifiableMultiMap<K,V>
 
Constructor Summary
MultiMap.UnmodifiableMultiMap(MultiMap<K,V> multiMap)
           
 
Method Summary
 void put(K key, V value)
          Adds a value for the specified key.
 
Methods inherited from class MultiMapW
get, multiMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiMap.UnmodifiableMultiMap

MultiMap.UnmodifiableMultiMap(MultiMap<K,V> multiMap)
Method Detail

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