This class is not Thread safe. Use in single threaded contexts, or contexts where single threaded-access can be guaranteed, or wrap with Collections.synchronizedMap().
This class does not accept null keys or values.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv class | |
| private class | |
| pack-priv class | |
| pack-priv class | |
| pack-priv static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv DoubleWeakHashMap. | |
| pack-priv HashMap | |
| pack-priv ReferenceQueue | |
| pack-priv Set | |
| pack-priv ReferenceQueue | |
| pack-priv Collection |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | clear()
Implements java. Removes all of the mappings from this map (optional operation). |
| public boolean | containsKey(Object
key whose presence in this map is to be tested key)Implements java. Returns |
| public boolean | containsValue(Object
value whose presence in this map is to be tested val)Implements java. Returns |
| private DoubleWeakHashMap. | |
| public Set | entrySet()
Implements java. Returns a |
| public Object | get(Object
the key whose associated value is to be returned key)Implements java. Returns the value to which the specified key is mapped,
or |
| public boolean | |
| public Set | |
| public Object | put(Object
key with which the specified value is to be associated key, Object value to be associated with the specified key val)Implements java. Associates the specified value with the specified key in this map (optional operation). |
| public void | putAll(Map<K, V>
mappings to be stored in this map m)Implements java. Copies all of the mappings from the specified map to this map (optional operation). |
| public Object | remove(Object
key whose mapping is to be removed from the map key)Implements java. Removes the mapping for a key from this map if it is present (optional operation). |
| public int | |
| public Collection | values()
Implements java. Returns a |