static final class HashSetRVM.Bucket<T> extends AbstractHashSetRVM.AbstractBucket<T>
Modifier and Type | Field and Description |
---|---|
private T |
key |
private AbstractHashSetRVM.AbstractBucket<T> |
next |
Constructor and Description |
---|
Bucket(T key,
AbstractHashSetRVM.AbstractBucket<T> next) |
Modifier and Type | Method and Description |
---|---|
(package private) T |
getKey() |
(package private) AbstractHashSetRVM.AbstractBucket<T> |
getNext() |
(package private) AbstractHashSetRVM.AbstractBucket<T> |
setNext(AbstractHashSetRVM.AbstractBucket<T> next)
Change the next bucket after this bucket, possibly constructing a new
abstract bucket.
|
private AbstractHashSetRVM.AbstractBucket<T> next
Bucket(T key, AbstractHashSetRVM.AbstractBucket<T> next)
AbstractHashSetRVM.AbstractBucket<T> setNext(AbstractHashSetRVM.AbstractBucket<T> next)
AbstractHashSetRVM.AbstractBucket
setNext
in class AbstractHashSetRVM.AbstractBucket<T>
next
- the new value for the next bucketAbstractHashSetRVM.AbstractBucket<T> getNext()
getNext
in class AbstractHashSetRVM.AbstractBucket<T>
T getKey()
getKey
in class AbstractHashSetRVM.AbstractBucket<T>