Uses of Class
com.google.common.collect.ImmutableMultiset.Builder
Packages that use ImmutableMultiset.Builder
Package
Description
Collection interfaces and implementations, and other utilities for collections.
-
Uses of ImmutableMultiset.Builder in com.google.common.collect
Subclasses of ImmutableMultiset.Builder in com.google.common.collectModifier and TypeClassDescriptionstatic class
A builder for creating immutable multiset instances, especiallypublic static final
multisets ("constant multisets").Methods in com.google.common.collect that return ImmutableMultiset.BuilderModifier and TypeMethodDescriptionAddselement
to theImmutableMultiset
.Adds each element ofelements
to theImmutableMultiset
.Adds each element ofelements
to theImmutableMultiset
.Adds each element ofelements
to theImmutableMultiset
.Adds a number of occurrences of an element to thisImmutableMultiset
.static <E> ImmutableMultiset.Builder
<E> ImmutableMultiset.builder()
Returns a new builder.Adds or removes the necessary occurrences of an element such that the element attains the desired count.