Uses of Interface
org.apache.commons.collections4.MultiSet
-
Packages that use MultiSet Package Description org.apache.commons.collections4 This package contains the interfaces and utilities shared across all the subpackages of this component.org.apache.commons.collections4.collection This package contains implementations of theCollection
interface.org.apache.commons.collections4.multimap This package contains implementations of theMultiValuedMap
interfaces.org.apache.commons.collections4.multiset This package contains implementations of theMultiSet
interface. -
-
Uses of MultiSet in org.apache.commons.collections4
Fields in org.apache.commons.collections4 declared as MultiSet Modifier and Type Field Description static MultiSet
MultiSetUtils. EMPTY_MULTISET
An empty unmodifiable multiset.Methods in org.apache.commons.collections4 that return MultiSet Modifier and Type Method Description static <E> MultiSet<E>
MultiSetUtils. emptyMultiSet()
Get an emptyMultiSet
.MultiSet<K>
MultiValuedMap. keys()
Returns aMultiSet
view of the keys contained in this multi-valued map.static <E> MultiSet<E>
MultiSetUtils. predicatedMultiSet(MultiSet<E> multiset, Predicate<? super E> predicate)
Returns a predicated (validating) multiset backed by the given multiset.static <E> MultiSet<E>
MultiSetUtils. synchronizedMultiSet(MultiSet<E> multiset)
Returns a synchronized (thread-safe) multiset backed by the given multiset.static <E> MultiSet<E>
MultiSetUtils. unmodifiableMultiSet(MultiSet<? extends E> multiset)
Returns an unmodifiable view of the given multiset.Methods in org.apache.commons.collections4 with parameters of type MultiSet Modifier and Type Method Description static <E> MultiSet<E>
MultiSetUtils. predicatedMultiSet(MultiSet<E> multiset, Predicate<? super E> predicate)
Returns a predicated (validating) multiset backed by the given multiset.static <E> MultiSet<E>
MultiSetUtils. synchronizedMultiSet(MultiSet<E> multiset)
Returns a synchronized (thread-safe) multiset backed by the given multiset.static <E> MultiSet<E>
MultiSetUtils. unmodifiableMultiSet(MultiSet<? extends E> multiset)
Returns an unmodifiable view of the given multiset. -
Uses of MultiSet in org.apache.commons.collections4.collection
Methods in org.apache.commons.collections4.collection that return MultiSet Modifier and Type Method Description MultiSet<E>
PredicatedCollection.Builder. createPredicatedMultiSet()
Create a new predicated multiset filled with the accepted elements.MultiSet<E>
PredicatedCollection.Builder. createPredicatedMultiSet(MultiSet<E> multiset)
Decorates the given multiset with validating behavior using the predicate.Methods in org.apache.commons.collections4.collection with parameters of type MultiSet Modifier and Type Method Description MultiSet<E>
PredicatedCollection.Builder. createPredicatedMultiSet(MultiSet<E> multiset)
Decorates the given multiset with validating behavior using the predicate. -
Uses of MultiSet in org.apache.commons.collections4.multimap
Methods in org.apache.commons.collections4.multimap that return MultiSet Modifier and Type Method Description MultiSet<K>
AbstractMultiValuedMap. keys()
Returns aMultiSet
view of the key mapping contained in this map.MultiSet<K>
AbstractMultiValuedMapDecorator. keys()
MultiSet<K>
UnmodifiableMultiValuedMap. keys()
-
Uses of MultiSet in org.apache.commons.collections4.multiset
Classes in org.apache.commons.collections4.multiset that implement MultiSet Modifier and Type Class Description class
AbstractMapMultiSet<E>
Abstract implementation of theMultiSet
interface to simplify the creation of subclass implementations.class
AbstractMultiSet<E>
Abstract implementation of theMultiSet
interface to simplify the creation of subclass implementations.class
AbstractMultiSetDecorator<E>
Decorates anotherMultSet
to provide additional behaviour.class
HashMultiSet<E>
ImplementsMultiSet
, using aHashMap
to provide the data storage.class
PredicatedMultiSet<E>
Decorates anotherMultiSet
to validate that additions match a specified predicate.class
SynchronizedMultiSet<E>
Decorates anotherMultiSet
to synchronize its behaviour for a multi-threaded environment.class
UnmodifiableMultiSet<E>
Decorates anotherMultiSet
to ensure it can't be altered.Methods in org.apache.commons.collections4.multiset that return MultiSet Modifier and Type Method Description protected MultiSet<E>
AbstractMultiSetDecorator. decorated()
Gets the multiset being decorated.protected MultiSet<E>
PredicatedMultiSet. decorated()
Gets the decorated multiset.protected MultiSet<E>
SynchronizedMultiSet. decorated()
Gets the multiset being decorated.static <E> MultiSet<E>
UnmodifiableMultiSet. unmodifiableMultiSet(MultiSet<? extends E> multiset)
Factory method to create an unmodifiable multiset.Methods in org.apache.commons.collections4.multiset with parameters of type MultiSet Modifier and Type Method Description static <E> PredicatedMultiSet<E>
PredicatedMultiSet. predicatedMultiSet(MultiSet<E> multiset, Predicate<? super E> predicate)
Factory method to create a predicated (validating) multiset.static <E> SynchronizedMultiSet<E>
SynchronizedMultiSet. synchronizedMultiSet(MultiSet<E> multiset)
Factory method to create a synchronized multiset.static <E> MultiSet<E>
UnmodifiableMultiSet. unmodifiableMultiSet(MultiSet<? extends E> multiset)
Factory method to create an unmodifiable multiset.Constructors in org.apache.commons.collections4.multiset with parameters of type MultiSet Constructor Description AbstractMultiSetDecorator(MultiSet<E> multiset)
Constructor that wraps (not copies).PredicatedMultiSet(MultiSet<E> multiset, Predicate<? super E> predicate)
Constructor that wraps (not copies).SynchronizedMultiSet(MultiSet<E> multiset)
Constructor that wraps (not copies).SynchronizedMultiSet(MultiSet<E> multiset, Object lock)
Constructor that wraps (not copies).
-