org.jikesrvm.util
Class ImmutableEntryHashSetRVM<T>
java.lang.Object
org.jikesrvm.util.AbstractHashSetRVM<T>
org.jikesrvm.util.ImmutableEntryHashSetRVM<T>
- All Implemented Interfaces:
- Iterable<T>
public final class ImmutableEntryHashSetRVM<T>
- extends AbstractHashSetRVM<T>
A hash set with entirely immutable buckets. It doesn't correctly support
remove, so use with care.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImmutableEntryHashSetRVM
public ImmutableEntryHashSetRVM()
ImmutableEntryHashSetRVM
public ImmutableEntryHashSetRVM(int size)
createNewBucket
AbstractHashSetRVM.AbstractBucket<T> createNewBucket(T key,
AbstractHashSetRVM.AbstractBucket<T> next)
- Specified by:
createNewBucket
in class AbstractHashSetRVM<T>
remove
public void remove(T key)
- Overrides:
remove
in class AbstractHashSetRVM<T>