org.eclipse.jdt.internal.compiler.util
Class HashSetOfInt

java.lang.Object
  extended by org.eclipse.jdt.internal.compiler.util.HashSetOfInt
All Implemented Interfaces:
java.lang.Cloneable

public final class HashSetOfInt
extends java.lang.Object
implements java.lang.Cloneable

HashSet of Object[]


Field Summary
 int elementSize
           
 int[] set
           
 
Constructor Summary
HashSetOfInt()
           
HashSetOfInt(int size)
           
 
Method Summary
 int add(int element)
           
 java.lang.Object clone()
           
 boolean contains(int element)
           
 int remove(int element)
           
 int size()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

set

public int[] set

elementSize

public int elementSize
Constructor Detail

HashSetOfInt

public HashSetOfInt()

HashSetOfInt

public HashSetOfInt(int size)
Method Detail

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Overrides:
clone in class java.lang.Object
Throws:
java.lang.CloneNotSupportedException

contains

public boolean contains(int element)

add

public int add(int element)

remove

public int remove(int element)

size

public int size()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object