| Modifier and Type | Class and Description |
|---|---|
| private static enum | |
| private static class | |
| pack-priv static interface | |
| pack-priv static class | |
| private class | |
| pack-priv static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| protected transient int | |
| pack-priv static final int | |
| pack-priv static final float | |
| private static IdentityWeakHashMap. | |
| private transient IdentityWeakHashMap. | |
| private transient Set | |
| private transient Set | |
| protected float | |
| pack-priv static final int | |
| private transient int | |
| protected ReferenceQueue | referenceQueue
This is used by the garbage collector. |
| pack-priv static final long | |
| protected int | |
| private transient Collection |
| Access | Constructor and Description |
|---|---|
| public | IdentityWeakHashMap(int
the initial capacity of this
initialCapacity, float IdentityWeakHashMap.the loadFactor of the loadFactor)IdentityWeakHashMap.Constructs a new |
| public | IdentityWeakHashMap(int
the initial capacity of the
initialCapacity)IdentityWeakHashMap.Constructs a new |
| public | IdentityWeakHashMap()
Constructs a new |
| public | IdentityWeakHashMap(Map<K, V>
the map whose mappings are to be placed in the
m)IdentityWeakHashMap.Constructs a new |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| public void | clear()
Overrides java. Implements java. IdentityWeakHashMap.
|
| public Object | Returns: a shallow copy of thisIdentityWeakHashMap.Overrides java. IdentityWeakHashMap (the
elements are not cloned).
|
| public boolean | Returns: true if this IdentityWeakHashMap contains a
mapping for key.object to be used as a key into this
key)IdentityWeakHashMap.Overrides java. Implements java. true if this IdentityWeakHashMap contains a
mapping for the given key.
|
| public boolean | Returns: true if this IdentityWeakHashMap contains
obj.the object to find. obj)Overrides java. Implements java. true if this IdentityWeakHashMap contains
the given object.
|
| public Set | Returns: a collection view of the mappings contained in thisIdentityWeakHashMap.Implements abstract java. Implements java. IdentityWeakHashMap.
|
| public V | Returns: the value to which thisIdentityWeakHashMap maps the
given key.key whose associated value is to be returned. key)Overrides java. Implements java. IdentityWeakHashMap.
|
| private Iterator | |
| public boolean | Returns: true if this IdentityWeakHashMap is empty.Overrides java. Implements java. true if this map contains no key-value mappings.
|
| public Set | Returns: a set view of the keys contained in thisIdentityWeakHashMap.Overrides java. Implements java. IdentityWeakHashMap.
|
| public V | Returns: the previous object for key ornull if this
IdentityWeakHashMap did not have one.key to map to given object. key, V object to be associated with key. obj)Overrides java. Implements java. IdentityWeakHashMap, replacing any existing mapping.
|
| public void | putAll(Map<? extends K, ? extends V>
mappings to be stored in this m)IdentityWeakHashMap.Overrides java. Implements java. IdentityWeakHashMap, replacing any existing mappings.
|
| private void | |
| private void | |
| public V | Returns: the previous object for key ornull if this
IdentityWeakHashMap did not have one.key whose mapping is to be removed from the map. key)Overrides java. Implements java. IdentityWeakHashMap, if present.
|
| protected boolean | |
| public int | Returns: the size of thisIdentityWeakHashMap.Overrides java. Implements java. |
| public Collection | Returns: a collection view of the values contained in thisIdentityWeakHashMap.Overrides java. Implements java. IdentityWeakHashMap.
|
| private void |