Uses of Interface
org.apache.commons.collections4.MultiSet
Packages that use MultiSet
Package
Description
This package contains the interfaces and utilities shared across all the subpackages of this component.
This package contains implementations of the
Collection interface.This package contains implementations of the
MultiValuedMap interfaces.This package contains implementations of the
MultiSet interface.-
Uses of MultiSet in org.apache.commons.collections4
Fields in org.apache.commons.collections4 declared as MultiSetModifier and TypeFieldDescriptionstatic final MultiSetMultiSetUtils.EMPTY_MULTISETAn empty unmodifiable multiset.Methods in org.apache.commons.collections4 that return MultiSetModifier and TypeMethodDescriptionstatic <E> MultiSet<E>MultiSetUtils.emptyMultiSet()Get an emptyMultiSet.MultiValuedMap.keys()Returns aMultiSetview 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 MultiSetModifier and TypeMethodDescriptionstatic <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 MultiSetModifier and TypeMethodDescriptionPredicatedCollection.Builder.createPredicatedMultiSet()Create a new predicated multiset filled with the accepted elements.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 MultiSetModifier and TypeMethodDescriptionPredicatedCollection.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 -
Uses of MultiSet in org.apache.commons.collections4.multiset
Classes in org.apache.commons.collections4.multiset that implement MultiSetModifier and TypeClassDescriptionclassAbstract implementation of theMultiSetinterface to simplify the creation of subclass implementations.classAbstract implementation of theMultiSetinterface to simplify the creation of subclass implementations.classDecorates anotherMultSetto provide additional behaviour.classHashMultiSet<E>ImplementsMultiSet, using aHashMapto provide the data storage.classDecorates anotherMultiSetto validate that additions match a specified predicate.classDecorates anotherMultiSetto synchronize its behaviour for a multi-threaded environment.final classDecorates anotherMultiSetto ensure it can't be altered.Methods in org.apache.commons.collections4.multiset that return MultiSetModifier and TypeMethodDescriptionAbstractMultiSetDecorator.decorated()Gets the multiset being decorated.PredicatedMultiSet.decorated()Gets the decorated multiset.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 MultiSetModifier and TypeMethodDescriptionstatic <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 MultiSetModifierConstructorDescriptionprotectedAbstractMultiSetDecorator(MultiSet<E> multiset) Constructor that wraps (not copies).protectedPredicatedMultiSet(MultiSet<E> multiset, Predicate<? super E> predicate) Constructor that wraps (not copies).protectedSynchronizedMultiSet(MultiSet<E> multiset) Constructor that wraps (not copies).protectedSynchronizedMultiSet(MultiSet<E> multiset, Object lock) Constructor that wraps (not copies).