Uses of Class
com.google.common.collect.ImmutableMap.Builder
Packages that use ImmutableMap.Builder
Package
Description
Collection interfaces and implementations, and other utilities for collections.
Utilities for reflection.
-
Uses of ImmutableMap.Builder in com.google.common.collect
Subclasses of ImmutableMap.Builder in com.google.common.collectModifier and TypeClassDescriptionstatic final class
A builder for creating immutable bimap instances, especiallypublic static final
bimaps ("constant bimaps").static class
A builder for creating immutable sorted map instances, especiallypublic static final
maps ("constant maps").Fields in com.google.common.collect declared as ImmutableMap.BuilderModifier and TypeFieldDescriptionprivate final ImmutableMap.Builder
<Class<? extends B>, B> ImmutableClassToInstanceMap.Builder.mapBuilder
Methods in com.google.common.collect that return ImmutableMap.BuilderModifier and TypeMethodDescriptionstatic <K,
V> ImmutableMap.Builder <K, V> ImmutableMap.builder()
Returns a new builder.static <K,
V> ImmutableMap.Builder <K, V> ImmutableMap.builderWithExpectedSize
(int expectedSize) Returns a new builder, expecting the specified number of entries to be added.(package private) ImmutableMap.Builder
<K, V> ImmutableMap.Builder.combine
(ImmutableMap.Builder<K, V> other) (package private) ImmutableMap.Builder
<K, V> ImmutableMap.SerializedForm.makeBuilder
(int size) Returns a builder that builds the unserialized type.ImmutableMap.Builder.orderEntriesByValue
(Comparator<? super V> valueComparator) Configures thisBuilder
to order entries by value according to the specified comparator.Adds the givenentry
to the map, making it immutable if necessary.Associateskey
withvalue
in the built map.Adds all of the given entries to the built map.Associates all of the given map's keys and values in the built map.Methods in com.google.common.collect with parameters of type ImmutableMap.BuilderModifier and TypeMethodDescription(package private) ImmutableBiMap.Builder
<K, V> ImmutableBiMap.Builder.combine
(ImmutableMap.Builder<K, V> builder) (package private) ImmutableMap.Builder
<K, V> ImmutableMap.Builder.combine
(ImmutableMap.Builder<K, V> other) (package private) ImmutableSortedMap.Builder
<K, V> ImmutableSortedMap.Builder.combine
(ImmutableMap.Builder<K, V> other) private static <K,
V> ImmutableMap <K, V> Maps.uniqueIndex
(Iterator<V> values, Function<? super V, K> keyFunction, ImmutableMap.Builder<K, V> builder) -
Uses of ImmutableMap.Builder in com.google.common.reflect
Fields in com.google.common.reflect declared as ImmutableMap.BuilderModifier and TypeFieldDescriptionprivate final ImmutableMap.Builder
<TypeToken<? extends B>, B> ImmutableTypeToInstanceMap.Builder.mapBuilder
-
Uses of ImmutableMap.Builder in com.google.thirdparty.publicsuffix
Methods in com.google.thirdparty.publicsuffix with parameters of type ImmutableMap.BuilderModifier and TypeMethodDescriptionprivate static int
TrieParser.doParseTrieToBuilder
(Deque<CharSequence> stack, CharSequence encoded, int start, ImmutableMap.Builder<String, PublicSuffixType> builder) Parses a trie node and returns the number of characters consumed.