-
interface
A
Multiset which maintains the ordering of its elements, according to either their
natural order or an explicit
Comparator.
(package private) interface
dev.mccue.guava.collect.SortedMultisetBridge<E extends @Nullable Object>
Superinterface of
SortedMultiset to introduce a bridge method for
elementSet(),
to ensure binary compatibility with older Guava versions that specified
elementSet() to
return
SortedSet.
final class
A multiset that supports concurrent modifications and that provides atomic versions of most
Multiset operations (exceptions where noted).
final class
Multiset implementation specialized for enum elements, supporting all single-element operations
in O(1).
class
A multiset which forwards all its method calls to another multiset.
class
A sorted multiset which forwards all its method calls to another sorted multiset.
protected class
A skeleton implementation of a descending multiset view.
final class
Multiset implementation backed by a
HashMap.
class
class
final class
A Multiset implementation with predictable iteration order.
final class
A multiset which maintains the ordering of its elements, according to either their natural order
or an explicit
Comparator.
Returns a Collector that accumulates elements into a multiset created via the specified
Supplier, whose elements are the result of applying elementFunction to the
inputs, with counts equal to the result of applying countFunction to the inputs.
Returns an unmodifiable view of the difference of two multisets.
Multisets.filter(Multiset<E> unfiltered,
dev.mccue.guava.base.Predicate<? super E> predicate)
Returns a view of the elements of unfiltered that satisfy a predicate.
Returns an unmodifiable view of the intersection of two multisets.
ForwardingMultimap.keys()
Returns a view collection containing the key from each key-value pair in this multimap,
without collapsing duplicates.
Returns an unmodifiable view of the sum of two multisets.
Returns an unmodifiable view of the union of two multisets.
Returns an unmodifiable view of the specified multiset.
static boolean
Returns true if subMultiset.count(o) <= superMultiset.count(o) for all
o.
Returns a copy of
multiset as an
ImmutableMultiset whose iteration order puts
the highest count first, with ties broken by the iteration order of the original multiset.
Returns an unmodifiable view of the difference of two multisets.
Multisets.filter(Multiset<E> unfiltered,
dev.mccue.guava.base.Predicate<? super E> predicate)
Returns a view of the elements of unfiltered that satisfy a predicate.
Returns an unmodifiable view of the intersection of two multisets.
static boolean
For each occurrence of an element e in occurrencesToRemove, removes one
occurrence of e in multisetToModify.
static boolean
For each occurrence of an element e in occurrencesToRemove, removes one
occurrence of e in multisetToModify.
static boolean
Modifies multisetToModify so that its count for an element e is at most
multisetToRetain.count(e).
Returns an unmodifiable view of the sum of two multisets.
Returns an unmodifiable view of the union of two multisets.
Returns an unmodifiable view of the specified multiset.