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