Uses of Class
com.google.common.collect.ImmutableCollection.Builder
Packages that use ImmutableCollection.Builder
Package
Description
Collection interfaces and implementations, and other utilities for collections.
-
Uses of ImmutableCollection.Builder in com.google.common.collect
Subclasses of ImmutableCollection.Builder in com.google.common.collectModifier and TypeClassDescriptionstatic final class
A builder for creating immutable list instances, especiallypublic static final
lists ("constant lists").static class
A builder for creating immutable multiset instances, especiallypublic static final
multisets ("constant multisets").static class
A builder for creatingImmutableSet
instances.static class
A builder for creating immutable multiset instances, especiallypublic static final
multisets ("constant multisets").static final class
A builder for creating immutable sorted set instances, especiallypublic static final
sets ("constant sets"), with a given comparator.Fields in com.google.common.collect with type parameters of type ImmutableCollection.BuilderModifier and TypeFieldDescription(package private) Map
<K, ImmutableCollection.Builder<V>> ImmutableMultimap.Builder.builderMap
Methods in com.google.common.collect that return ImmutableCollection.BuilderModifier and TypeMethodDescriptionabstract ImmutableCollection.Builder
<E> Addselement
to theImmutableCollection
being built.Adds each element ofelements
to theImmutableCollection
being built.Adds each element ofelements
to theImmutableCollection
being built.Adds each element ofelements
to theImmutableCollection
being built.(package private) ImmutableCollection.Builder
<V> ImmutableMultimap.Builder.newValueCollectionBuilderWithExpectedSize
(int expectedSize) (package private) ImmutableCollection.Builder
<V> ImmutableSetMultimap.Builder.newValueCollectionBuilderWithExpectedSize
(int expectedSize) Methods in com.google.common.collect that return types with arguments of type ImmutableCollection.BuilderModifier and TypeMethodDescription(package private) Map
<K, ImmutableCollection.Builder<V>> ImmutableMultimap.Builder.ensureBuilderMapNonNull()
Method parameters in com.google.common.collect with type arguments of type ImmutableCollection.BuilderModifier and TypeMethodDescription(package private) static <K,
V> ImmutableListMultimap <K, V> ImmutableListMultimap.fromMapBuilderEntries
(Collection<? extends Map.Entry<K, ImmutableCollection.Builder<V>>> mapEntries, Comparator<? super V> valueComparator) Creates an ImmutableListMultimap from an asMap.entrySet.(package private) static <K,
V> ImmutableSetMultimap <K, V> ImmutableSetMultimap.fromMapBuilderEntries
(Collection<? extends Map.Entry<K, ImmutableCollection.Builder<V>>> mapEntries, Comparator<? super V> valueComparator) Creates an ImmutableSetMultimap from a map to builders.