| 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) |
Object |
clone() |
boolean |
contains(int element) |
int |
remove(int element) |
int |
size() |
String |
toString() |
public Object clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionpublic boolean contains(int element)
public int add(int element)
public int remove(int element)
public int size()
Copyright © 2015. All rights reserved.