org.jikesrvm.util
Class HashMapRVM.Bucket<K,V>
java.lang.Object
org.jikesrvm.util.AbstractHashMapRVM.AbstractBucket<K,V>
org.jikesrvm.util.HashMapRVM.Bucket<K,V>
- Enclosing class:
- HashMapRVM<K,V>
static final class HashMapRVM.Bucket<K,V>
- extends AbstractHashMapRVM.AbstractBucket<K,V>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
next
private AbstractHashMapRVM.AbstractBucket<K,V> next
key
private final K key
value
private V value
HashMapRVM.Bucket
HashMapRVM.Bucket(K k,
V v,
AbstractHashMapRVM.AbstractBucket<K,V> n)
getNext
AbstractHashMapRVM.AbstractBucket<K,V> getNext()
- Specified by:
getNext
in class AbstractHashMapRVM.AbstractBucket<K,V>
setNext
AbstractHashMapRVM.AbstractBucket<K,V> setNext(AbstractHashMapRVM.AbstractBucket<K,V> n)
- Description copied from class:
AbstractHashMapRVM.AbstractBucket
- Change the next bucket after this bucket, possibly constructing a new
abstract bucket.
- Specified by:
setNext
in class AbstractHashMapRVM.AbstractBucket<K,V>
getKey
K getKey()
- Specified by:
getKey
in class AbstractHashMapRVM.AbstractBucket<K,V>
getValue
V getValue()
- Specified by:
getValue
in class AbstractHashMapRVM.AbstractBucket<K,V>
setValue
void setValue(V v)
- Specified by:
setValue
in class AbstractHashMapRVM.AbstractBucket<K,V>