Home » openjdk-7 » java » util » [javadoc | source]
static class: Collections.UnmodifiableMap [javadoc | source]

All Implemented Interfaces:
    Map, Serializable

Direct Known Subclasses:

Nested Class Summary:
static class  UnmodifiableMap.UnmodifiableEntrySet  We need this class in addition to UnmodifiableSet as Map.Entries themselves permit modification of the backing Map via their setValue operation. This class is subtle: there are many possible attacks that must be thwarted. 
 UnmodifiableMap(Map<? extends K, ? extends V> m) 
Method from java.util.Collections$UnmodifiableMap Summary:
clear,   containsKey,   containsValue,   entrySet,   equals,   get,   hashCode,   isEmpty,   keySet,   put,   putAll,   remove,   size,   toString,   values
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from java.util.Collections$UnmodifiableMap Detail:
 public  void clear() 
 public boolean containsKey(Object key) 
 public boolean containsValue(Object val) 
 public Set<K, V> entrySet() 
 public boolean equals(Object o) 
 public V get(Object key) 
 public int hashCode() 
 public boolean isEmpty() 
 public Set<K> keySet() 
 public V put(K key,
    V value) 
 public  void putAll(Map<? extends K, ? extends V> m) 
 public V remove(Object key) 
 public int size() 
 public String toString() 
 public Collection<V> values()