public class IdentityArrayObjectSet<E> extends java.lang.Object implements IdentityObjectSet<E>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Object[] |
elements |
protected int |
size |
| Constructor and Description |
|---|
IdentityArrayObjectSet() |
IdentityArrayObjectSet(E initialElement) |
IdentityArrayObjectSet(int initialCapacity) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(E obj) |
ObjectSet<E> |
clone() |
boolean |
contains(E obj) |
boolean |
isEmpty() |
java.util.Iterator<E> |
iterator() |
boolean |
remove(E obj) |
int |
size() |
java.lang.String |
toString() |
public IdentityArrayObjectSet()
public IdentityArrayObjectSet(int initialCapacity)
public IdentityArrayObjectSet(E initialElement)