public class WeakSet<T> extends Objectimplements Set <T>
| Constructor and Description |
|---|
WeakSet()
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(T e)
|
boolean |
addAll(Collection
|
void |
clear()
|
boolean |
contains(Object
|
boolean |
containsAll(Collection
|
boolean |
isEmpty()
|
Iterator |
iterator()
|
boolean |
remove(Object
|
boolean |
removeAll(Collection
|
boolean |
retainAll(Collection
|
int |
size()
|
Object |
toArray()
|
<K> K[] |
toArray(K[] a)
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequals, hashCode, spliteratorparallelStream, removeIf, streampublic boolean add(T e)
public boolean addAll(Collection<? extends T> c)
public void clear()
public boolean contains(Objecto)
public boolean containsAll(Collection<?> c)
public boolean isEmpty()
public boolean remove(Objecto)
public boolean removeAll(Collection<?> c)
public boolean retainAll(Collection<?> c)
public int size()
public Object[] toArray()
public <K> K[] toArray(K[] a)