Uses of Class
com.google.common.collect.ImmutableMultimap.Builder
Packages that use ImmutableMultimap.Builder
Package
Description
Collection interfaces and implementations, and other utilities for collections.
-
Uses of ImmutableMultimap.Builder in com.google.common.collect
Subclasses of ImmutableMultimap.Builder in com.google.common.collectModifier and TypeClassDescriptionstatic final class
A builder for creating immutableListMultimap
instances, especiallypublic static final
multimaps ("constant multimaps").static final class
A builder for creating immutableSetMultimap
instances, especiallypublic static final
multimaps ("constant multimaps").Methods in com.google.common.collect that return ImmutableMultimap.BuilderModifier and TypeMethodDescriptionstatic <K,
V> ImmutableMultimap.Builder <K, V> ImmutableMultimap.builder()
Returns a new builder.static <K,
V> ImmutableMultimap.Builder <K, V> ImmutableMultimap.builderWithExpectedKeys
(int expectedKeys) Returns a new builder with a hint for how many distinct keys are expected to be added.(package private) ImmutableMultimap.Builder
<K, V> ImmutableMultimap.Builder.combine
(ImmutableMultimap.Builder<K, V> other) ImmutableMultimap.Builder.expectedValuesPerKey
(int expectedValuesPerKey) Provides a hint for how many values will be associated with each key newly added to the builder after this call.ImmutableMultimap.Builder.orderKeysBy
(Comparator<? super K> keyComparator) Specifies the ordering of the generated multimap's keys.ImmutableMultimap.Builder.orderValuesBy
(Comparator<? super V> valueComparator) Specifies the ordering of the generated multimap's values for each key.Adds an entry to the built multimap.Adds a key-value mapping to the built multimap.Stores another multimap's entries in the built multimap.Adds entries to the built multimap.Stores a collection of values with the same key in the built multimap.Stores an array of values with the same key in the built multimap.Methods in com.google.common.collect with parameters of type ImmutableMultimap.BuilderModifier and TypeMethodDescription(package private) ImmutableListMultimap.Builder
<K, V> ImmutableListMultimap.Builder.combine
(ImmutableMultimap.Builder<K, V> other) (package private) ImmutableMultimap.Builder
<K, V> ImmutableMultimap.Builder.combine
(ImmutableMultimap.Builder<K, V> other) (package private) ImmutableSetMultimap.Builder
<K, V> ImmutableSetMultimap.Builder.combine
(ImmutableMultimap.Builder<K, V> other)