|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jikesrvm.util.AbstractHashMapRVM<K,V>
org.jikesrvm.util.HashMapRVM<K,V>
public final class HashMapRVM<K,V>
Stripped down implementation of HashMap data structure for use
by core parts of the JikesRVM runtime. Consider the use of
ImmutableEntryHashMapRVM when the use of the HashMap
methods is limited.
| Nested Class Summary | |
|---|---|
(package private) static class |
HashMapRVM.Bucket<K,V>
|
| Nested classes/interfaces inherited from class org.jikesrvm.util.AbstractHashMapRVM |
|---|
AbstractHashMapRVM.AbstractBucket<K,V> |
| Field Summary |
|---|
| Fields inherited from class org.jikesrvm.util.AbstractHashMapRVM |
|---|
buckets, DEFAULT_SIZE, numElems |
| Constructor Summary | |
|---|---|
HashMapRVM()
|
|
HashMapRVM(int size)
|
|
| Method Summary | |
|---|---|
(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)
Are two keys the same? |
| Methods inherited from class org.jikesrvm.util.AbstractHashMapRVM |
|---|
get, keyIterator, keys, put, remove, size, valueIterator, values |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HashMapRVM()
public HashMapRVM(int size)
| Method Detail |
|---|
AbstractHashMapRVM.AbstractBucket<K,V> createNewBucket(K key,
V value,
AbstractHashMapRVM.AbstractBucket<K,V> next)
createNewBucket in class AbstractHashMapRVM<K,V>
protected boolean same(K k1,
K k2)
AbstractHashMapRVM
same in class AbstractHashMapRVM<K,V>protected int hashTheKey(K key)
hashTheKey in class AbstractHashMapRVM<K,V>
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||