static final class HashMapRVM.Bucket<K,V> extends AbstractHashMapRVM.AbstractBucket<K,V>
Modifier and Type | Field and Description |
---|---|
private K |
key |
private AbstractHashMapRVM.AbstractBucket<K,V> |
next |
private V |
value |
Constructor and Description |
---|
Bucket(K k,
V v,
AbstractHashMapRVM.AbstractBucket<K,V> n) |
Modifier and Type | Method and Description |
---|---|
(package private) K |
getKey() |
(package private) AbstractHashMapRVM.AbstractBucket<K,V> |
getNext() |
(package private) V |
getValue() |
(package private) AbstractHashMapRVM.AbstractBucket<K,V> |
setNext(AbstractHashMapRVM.AbstractBucket<K,V> n)
Change the next bucket after this bucket, possibly constructing a new
abstract bucket.
|
(package private) void |
setValue(V v) |
private AbstractHashMapRVM.AbstractBucket<K,V> next
AbstractHashMapRVM.AbstractBucket<K,V> getNext()
getNext
in class AbstractHashMapRVM.AbstractBucket<K,V>
AbstractHashMapRVM.AbstractBucket<K,V> setNext(AbstractHashMapRVM.AbstractBucket<K,V> n)
AbstractHashMapRVM.AbstractBucket
setNext
in class AbstractHashMapRVM.AbstractBucket<K,V>
n
- the new value for the next bucket