org.jikesrvm.util
Class HashSetRVM<T>

java.lang.Object
  extended by org.jikesrvm.util.AbstractHashSetRVM<T>
      extended by org.jikesrvm.util.HashSetRVM<T>
All Implemented Interfaces:
Iterable<T>

public final class HashSetRVM<T>
extends AbstractHashSetRVM<T>

Stripped down implementation of HashSet for use by core parts of the JikesRVM runtime. Consider the use of ImmutableEntryHashSetRVM when the use of the HashSet methods is limited.


Nested Class Summary
(package private) static class HashSetRVM.Bucket<T>
           
 
Nested classes/interfaces inherited from class org.jikesrvm.util.AbstractHashSetRVM
AbstractHashSetRVM.AbstractBucket<T>, AbstractHashSetRVM.SetIterator
 
Field Summary
 
Fields inherited from class org.jikesrvm.util.AbstractHashSetRVM
buckets, DEFAULT_SIZE, numElems
 
Constructor Summary
HashSetRVM()
           
HashSetRVM(int size)
           
 
Method Summary
(package private)  AbstractHashSetRVM.AbstractBucket<T> createNewBucket(T key, AbstractHashSetRVM.AbstractBucket<T> next)
           
 
Methods inherited from class org.jikesrvm.util.AbstractHashSetRVM
add, addAll, contains, get, iterator, newBucketArray, remove, removeAll, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HashSetRVM

public HashSetRVM()

HashSetRVM

public HashSetRVM(int size)
Method Detail

createNewBucket

AbstractHashSetRVM.AbstractBucket<T> createNewBucket(T key,
                                                     AbstractHashSetRVM.AbstractBucket<T> next)
Specified by:
createNewBucket in class AbstractHashSetRVM<T>