Uses of Interface
eu.bandm.tools.util.multi.Multiset
Packages that use Multiset
Package
Description
Collection types which maintain multiplicities of references.
-
Uses of Multiset in eu.bandm.tools.util.multi
Subinterfaces of Multiset in eu.bandm.tools.util.multiModifier and TypeInterfaceDescriptioninterfaceA multiset with a defined order on the elements.Classes in eu.bandm.tools.util.multi that implement MultisetModifier and TypeClassDescriptionclassCommon superclass for sorted and unsorted domains.classHashMultiset<A>Implementation for domains with no default order, whereTreeMultisetis not applicable.classTreeMultiset<A>Implementation using ordering.(package private) classA wrapper to protect the contents of an instance of a multiset.Methods in eu.bandm.tools.util.multi with type parameters of type MultisetModifier and TypeMethodDescriptionstatic <A,R extends Multiset<? super A>>
RReturn a new multiset which contains the sums of the cardinalities of all given multisets.static <A,R extends Multiset<? super A>>
RMultisets.subtract(Supplier<? extends R> newInstance, Multiset<? extends A> first, Multiset<? extends A> second) Returns a new multiset which contains the difference of the cardinalities of the two multisets.Methods in eu.bandm.tools.util.multi that return MultisetModifier and TypeMethodDescriptionstatic <A> Multiset<A> Return a new hash multiset which contains the sums of the cardinalities of all given multisets.static <A> Multiset<A> Multisets.singleton(A first) Returns a multiset which contains onle the given element once.static <A> Multiset<A> Returns a new hash multiset which contains the difference of the cardinalities of the two multisets.Methods in eu.bandm.tools.util.multi with parameters of type MultisetModifier and TypeMethodDescriptionstatic <A> Multiset<A> Return a new hash multiset which contains the sums of the cardinalities of all given multisets.static <A,R extends Multiset<? super A>>
RReturn a new multiset which contains the sums of the cardinalities of all given multisets.default booleanAdd all elements contained in the argument to this multiset.Multisets.ascendingCardinalities(Multiset<A> collected) Returns a view to this instance of pairs of elements and their cardinalities in ascending cardinality.Multisets.compareInner(Multiset<A> left, Multiset<A> right, Set<A> dom) Auxiliary method to compare two multisets restricted to the given set of elements.Multisets.partialCompare(Multiset<A> left, Multiset<A> right) Compare two multisets, if possible.static <A> Multiset<A> Returns a new hash multiset which contains the difference of the cardinalities of the two multisets.static <A,R extends Multiset<? super A>>
RMultisets.subtract(Supplier<? extends R> newInstance, Multiset<? extends A> first, Multiset<? extends A> second) Returns a new multiset which contains the difference of the cardinalities of the two multisets.static <A> UnmodifiableMultiset<A> Multisets.unmodifiableMultiset(Multiset<A> peer) Returns a proxy for the given multiset which does not allow modifications.Constructors in eu.bandm.tools.util.multi with parameters of type MultisetModifierConstructorDescriptionHashMultiset(Multiset<? extends A> proto) Construct a multiset which contains the given elements.TreeMultiset(Multiset<? extends A> proto) Construct a new set which contains all given elements.