protected static class AbstractMultiSet.UniqueSet<E> extends AbstractSet<E>
| Modifier and Type | Field and Description |
|---|---|
protected AbstractMultiSet |
parent
The parent multiset
|
| Modifier | Constructor and Description |
|---|---|
protected |
UniqueSet(AbstractMultiSet
Constructs a new unique element view of the MultiSet.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
|
boolean |
contains(Object
|
boolean |
containsAll(Collection
|
Iterator |
iterator()
|
boolean |
remove(Object
|
int |
size()
|
equals, hashCode, removeAlladd, addAll, isEmpty, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, addAll, isEmpty, retainAll, spliterator, toArray, toArrayparallelStream, removeIf, streamprotected final AbstractMultiSet<E> parent
protected UniqueSet(AbstractMultiSet<E> parent)
parent - the parent MultiSet
public boolean contains(Objectkey)
public boolean containsAll(Collection<?> coll)
public boolean remove(Objectkey)
public int size()
public void clear()