public final class IdentityHashMapRVM<K,V> extends AbstractHashMapRVM<K,V>
HashMapRVM except object identities determine equality
not the equals method.AbstractHashMapRVM.AbstractBucket<K,V>buckets, DEFAULT_SIZE, numElems| Constructor and Description |
|---|
IdentityHashMapRVM() |
IdentityHashMapRVM(int size) |
| Modifier and Type | Method and Description |
|---|---|
(package private) AbstractHashMapRVM.AbstractBucket<K,V> |
createNewBucket(K key,
V value,
AbstractHashMapRVM.AbstractBucket<K,V> next) |
protected int |
hashTheKey(K key) |
(package private) boolean |
same(K k1,
K k2) |
get, keyIterator, keys, put, remove, removeAll, size, valueIterator, valuespublic IdentityHashMapRVM()
public IdentityHashMapRVM(int size)
protected int hashTheKey(K key)
hashTheKey in class AbstractHashMapRVM<K,V>AbstractHashMapRVM.AbstractBucket<K,V> createNewBucket(K key, V value, AbstractHashMapRVM.AbstractBucket<K,V> next)
createNewBucket in class AbstractHashMapRVM<K,V>