public final class HashSetRVM<T> extends AbstractHashSetRVM<T>
ImmutableEntryHashSetRVM
when the use of the HashSet
methods is limited.Modifier and Type | Class and Description |
---|---|
(package private) static class |
HashSetRVM.Bucket<T> |
AbstractHashSetRVM.AbstractBucket<T>, AbstractHashSetRVM.SetIterator
buckets, DEFAULT_SIZE, numElems
Constructor and Description |
---|
HashSetRVM() |
HashSetRVM(int size) |
Modifier and Type | Method and Description |
---|---|
(package private) AbstractHashSetRVM.AbstractBucket<T> |
createNewBucket(T key,
AbstractHashSetRVM.AbstractBucket<T> next) |
add, addAll, contains, get, iterator, newBucketArray, remove, removeAll, size
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public HashSetRVM()
public HashSetRVM(int size)
AbstractHashSetRVM.AbstractBucket<T> createNewBucket(T key, AbstractHashSetRVM.AbstractBucket<T> next)
createNewBucket
in class AbstractHashSetRVM<T>