public class ObjectReferenceSet<T>
extends java.util.AbstractSet<T>
implements java.util.Set<T>
Constructor and Description |
---|
ObjectReferenceSet()
Create an empty set
|
ObjectReferenceSet(java.util.Collection<? extends T> collection)
Create a set by copying over all elements from the given collection
|
Modifier and Type | Method and Description |
---|---|
boolean |
add(T t) |
void |
clear() |
boolean |
contains(java.lang.Object o) |
java.util.Iterator<T> |
iterator() |
boolean |
remove(java.lang.Object o) |
boolean |
removeAll(java.util.Collection<?> c) |
boolean |
retainAll(java.util.Collection<?> c) |
int |
size() |
java.lang.String |
toString() |
addAll, containsAll, isEmpty, toArray, toArray
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public int size()
public boolean contains(@NotNull java.lang.Object o)
public boolean remove(@NotNull java.lang.Object o)
public boolean retainAll(java.util.Collection<?> c)
public boolean removeAll(java.util.Collection<?> c)
public void clear()