public final class HashSetOfInt
extends java.lang.Object
implements java.lang.Cloneable
| Modifier and Type | Field and Description |
|---|---|
int |
elementSize |
int[] |
set |
| Constructor and Description |
|---|
HashSetOfInt() |
HashSetOfInt(int size) |
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionpublic boolean contains(int element)
public int add(int element)
public int remove(int element)
public int size()
public java.lang.String toString()
toString in class java.lang.Object