public final class HashMapRVM<K,V> extends AbstractHashMapRVM<K,V>
ImmutableEntryHashMapRVM when the use of the HashMap
methods is limited.| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
HashMapRVM.Bucket<K,V> |
AbstractHashMapRVM.AbstractBucket<K,V>buckets, DEFAULT_SIZE, numElems| Constructor and Description |
|---|
HashMapRVM() |
HashMapRVM(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) |
protected boolean |
same(K k1,
K k2) |
get, keyIterator, keys, put, remove, removeAll, size, valueIterator, valuespublic HashMapRVM()
public HashMapRVM(int size)
AbstractHashMapRVM.AbstractBucket<K,V> createNewBucket(K key, V value, AbstractHashMapRVM.AbstractBucket<K,V> next)
createNewBucket in class AbstractHashMapRVM<K,V>protected int hashTheKey(K key)
hashTheKey in class AbstractHashMapRVM<K,V>