org.jikesrvm.util
Class HashMapRVM.Bucket<K,V>

java.lang.Object
  extended by org.jikesrvm.util.AbstractHashMapRVM.AbstractBucket<K,V>
      extended by org.jikesrvm.util.HashMapRVM.Bucket<K,V>
Enclosing class:
HashMapRVM<K,V>

static final class HashMapRVM.Bucket<K,V>
extends AbstractHashMapRVM.AbstractBucket<K,V>


Field Summary
private  K key
           
private  AbstractHashMapRVM.AbstractBucket<K,V> next
           
private  V value
           
 
Constructor Summary
HashMapRVM.Bucket(K k, V v, AbstractHashMapRVM.AbstractBucket<K,V> n)
           
 
Method Summary
(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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

next

private AbstractHashMapRVM.AbstractBucket<K,V> next

key

private final K key

value

private V value
Constructor Detail

HashMapRVM.Bucket

HashMapRVM.Bucket(K k,
                  V v,
                  AbstractHashMapRVM.AbstractBucket<K,V> n)
Method Detail

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>