protected class ForwardingMultiset.StandardElementSet extends Multisets.ElementSet<E>
Multiset.elementSet()
in terms of the following methods:
ForwardingCollection.clear()
, ForwardingCollection.contains(java.lang.Object)
, ForwardingCollection.containsAll(java.util.Collection<?>)
, ForwardingMultiset.count(java.lang.Object)
, ForwardingCollection.isEmpty()
, the Set.size()
and Set.iterator()
methods of ForwardingMultiset.entrySet()
, and ForwardingMultiset.remove(Object, int)
. In many
situations, you may wish to override ForwardingMultiset.elementSet()
to forward to this
implementation or a subclass thereof.Constructor and Description |
---|
StandardElementSet()
Constructor for use by subclasses.
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<E> |
iterator() |
(package private) Multiset<E> |
multiset() |
clear, contains, containsAll, isEmpty, remove, size
removeAll, retainAll
public StandardElementSet()
Multiset<E> multiset()
multiset
in class Multisets.ElementSet<E>