protected static class AbstractMultiSet.UniqueSet<E>
extends java.util.AbstractSet<E>
| Modifier and Type | Field and Description |
|---|---|
protected AbstractMultiSet<E> |
parent
The parent multiset
|
| Modifier | Constructor and Description |
|---|---|
protected |
UniqueSet(AbstractMultiSet<E> parent)
Constructs a new unique element view of the MultiSet.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
contains(java.lang.Object key) |
boolean |
containsAll(java.util.Collection<?> coll) |
java.util.Iterator<E> |
iterator() |
boolean |
remove(java.lang.Object key) |
int |
size() |
add, addAll, isEmpty, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitprotected final AbstractMultiSet<E> parent
protected UniqueSet(AbstractMultiSet<E> parent)
parent - the parent MultiSetpublic java.util.Iterator<E> iterator()
public boolean contains(java.lang.Object key)
public boolean containsAll(java.util.Collection<?> coll)
public boolean remove(java.lang.Object key)
public int size()