Uses of Class
com.google.common.collect.ImmutableMap.Builder
-
Packages that use ImmutableMap.Builder Package Description com.google.common.collect This package contains generic collection interfaces and implementations, and other utilities for working with collections.com.google.common.reflect This package contains utilities to work with Java reflection.com.google.thirdparty.publicsuffix -
-
Uses of ImmutableMap.Builder in com.google.common.collect
Subclasses of ImmutableMap.Builder in com.google.common.collect Modifier and Type Class Description static classImmutableBiMap.Builder<K,V>A builder for creating immutable bimap instances, especiallypublic static finalbimaps ("constant bimaps").static classImmutableSortedMap.Builder<K,V>A builder for creating immutable sorted map instances, especiallypublic static finalmaps ("constant maps").Fields in com.google.common.collect declared as ImmutableMap.Builder Modifier and Type Field Description private ImmutableMap.Builder<java.lang.Class<? extends B>,B>ImmutableClassToInstanceMap.Builder. mapBuilderMethods in com.google.common.collect that return ImmutableMap.Builder Modifier and Type Method Description static <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)ImmutableMap.Builder<K,V>ImmutableMap.Builder. orderEntriesByValue(java.util.Comparator<? super V> valueComparator)Configures thisBuilderto order entries by value according to the specified comparator.ImmutableMap.Builder<K,V>ImmutableMap.Builder. put(java.util.Map.Entry<? extends K,? extends V> entry)Adds the givenentryto the map, making it immutable if necessary.ImmutableMap.Builder<K,V>ImmutableMap.Builder. put(K key, V value)Associateskeywithvaluein the built map.ImmutableMap.Builder<K,V>ImmutableMap.Builder. putAll(java.lang.Iterable<? extends java.util.Map.Entry<? extends K,? extends V>> entries)Adds all of the given entries to the built map.ImmutableMap.Builder<K,V>ImmutableMap.Builder. putAll(java.util.Map<? extends K,? extends V> 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.Builder Modifier and Type Method Description (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)(package private) java.lang.ObjectImmutableMap.SerializedForm. createMap(ImmutableMap.Builder<java.lang.Object,java.lang.Object> builder) -
Uses of ImmutableMap.Builder in com.google.common.reflect
Fields in com.google.common.reflect declared as ImmutableMap.Builder Modifier and Type Field Description private 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.Builder Modifier and Type Method Description private static intTrieParser. doParseTrieToBuilder(java.util.List<java.lang.CharSequence> stack, java.lang.CharSequence encoded, int start, ImmutableMap.Builder<java.lang.String,PublicSuffixType> builder)Parses a trie node and returns the number of characters consumed.
-