Uses of Class
com.google.common.collect.ImmutableMultiset.Builder
Package
Description
Collection interfaces and implementations, and other utilities for collections.
-
Uses of ImmutableMultiset.Builder in com.google.common.collect
Modifier and TypeClassDescriptionstatic class
A builder for creating immutable multiset instances, especiallypublic static final
multisets ("constant multisets").Modifier 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.