K - the type of keys maintained by this map.V - the type of mapped values.public class WeakIdentityPackedMap<K,V> extends AbstractWeakPackedMap<K,V>
keysValues| Constructor and Description | 
|---|
| WeakIdentityPackedMap()Constructs an empty map. | 
| WeakIdentityPackedMap(WeakIdentityPackedMap<K,V> map)Constructs a map with the same mappings as the specified map. | 
| Modifier and Type | Method and Description | 
|---|---|
| Object | clone()Returns a shallow copy of this map instance: the keys and values themselves are not cloned. | 
| protected boolean | isSame(Object key,
      Object candidateKey)Checks whether two keys are equal or not. | 
containsKey, containsUnwrappedKey, containsValue, get, getWrappedKeyHashCode, keySet, put, remove, size, unwrapKey, wrapKeyclear, equals, getKeyHashCode, hashCode, isEmpty, valuespublic WeakIdentityPackedMap()
public WeakIdentityPackedMap(WeakIdentityPackedMap<K,V> map)
map - the map whose mappings are to be placed in this map.NullPointerException - if the specified map is null.public Object clone()
AbstractPackedMapclone in class AbstractPackedMap<K,V>Cloneableprotected boolean isSame(Object key, @Nullable Object candidateKey)
AbstractPackedMapnull.isSame in class AbstractPackedMap<K,V>key - the key searched in the map.candidateKey - the key in the map to compare with. Can be null if and only if AbstractPackedMap.unwrapKey(Object)
            implementation can return null.true if the two keys are equal, false otherwise.