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) |
| Modifier and Type | Method and Description |
|---|---|
int |
add(int element) |
java.lang.Object |
clone() |
boolean |
contains(int element) |
int |
remove(int element) |
int |
size() |
java.lang.String |
toString() |
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