Class AbstractMultiSet.EntrySet<E>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<MultiSet.Entry<E>>
org.apache.commons.collections4.multiset.AbstractMultiSet.EntrySet<E>
- All Implemented Interfaces:
Iterable<MultiSet.Entry<E>>
,Collection<MultiSet.Entry<E>>
,Set<MultiSet.Entry<E>>
- Enclosing class:
- AbstractMultiSet<E>
Inner class EntrySet.
-
Constructor Summary
ModifierConstructorDescriptionprotected
EntrySet
(AbstractMultiSet<E> parent) Constructs a new view of the MultiSet. -
Method Summary
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
Methods inherited from class java.util.AbstractCollection
add, addAll, clear, containsAll, isEmpty, retainAll, toArray, toArray, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream
Methods inherited from interface java.util.Set
add, addAll, clear, containsAll, isEmpty, retainAll, spliterator, toArray, toArray
-
Constructor Details
-
EntrySet
Constructs a new view of the MultiSet.- Parameters:
parent
- the parent MultiSet
-
-
Method Details
-
contains
- Specified by:
contains
in interfaceCollection<E>
- Specified by:
contains
in interfaceSet<E>
- Overrides:
contains
in classAbstractCollection<MultiSet.Entry<E>>
-
iterator
- Specified by:
iterator
in interfaceCollection<E>
- Specified by:
iterator
in interfaceIterable<E>
- Specified by:
iterator
in interfaceSet<E>
- Specified by:
iterator
in classAbstractCollection<MultiSet.Entry<E>>
-
remove
- Specified by:
remove
in interfaceCollection<E>
- Specified by:
remove
in interfaceSet<E>
- Overrides:
remove
in classAbstractCollection<MultiSet.Entry<E>>
-
size
- Specified by:
size
in interfaceCollection<E>
- Specified by:
size
in interfaceSet<E>
- Specified by:
size
in classAbstractCollection<MultiSet.Entry<E>>
-