Home » openjdk-7 » java » util » [javadoc | source]
java.util
static class: Collections.CheckedMap [javadoc | source]
java.lang.Object
   java.util.Collections$CheckedMap

All Implemented Interfaces:
    Map, Serializable

Direct Known Subclasses:
    CheckedSortedMap

Nested Class Summary:
static class  CheckedMap.CheckedEntrySet  We need this class in addition to CheckedSet as Map.Entry permits modification of the backing Map via the setValue operation. This class is subtle: there are many possible attacks that must be thwarted. 
Field Summary
final  Class<K> keyType     
final  Class<V> valueType     
Constructor:
 CheckedMap(Map<K, V> m,
    Class<K> keyType,
    Class<V> valueType) 
Method from java.util.Collections$CheckedMap 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$CheckedMap Detail:
 public  void clear() 
 public boolean containsKey(Object key) 
 public boolean containsValue(Object v) 
 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> t) 
 public V remove(Object key) 
 public int size() 
 public String toString() 
 public Collection<V> values()