Constructor and Description |
---|
IdentitySet() |
IdentitySet(Iterable<T> copy) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(T t) |
void |
addAll(Collection<T> c) |
void |
addAll(IdentitySet<T> c) |
void |
clear() |
boolean |
contains(T t) |
Iterator<T> |
iterator() |
void |
remove(T t) |
void |
removeall(Iterable<T> coll) |
void |
removeAll(Iterable<T> prev) |
int |
size() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public boolean add(T t)
public boolean contains(T t)
public void remove(T t)
public void clear()
public int size()
public void addAll(Collection<T> c)
public void addAll(IdentitySet<T> c)