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.
-
Uses of ImmutableMap.Builder in com.google.common.collect
Subclasses of ImmutableMap.Builder in com.google.common.collectModifier and TypeClassDescriptionstatic final classA builder for creating immutable bimap instances, especiallypublic static finalbimaps ("constant bimaps").static classA builder for creating immutable sorted map instances, especiallypublic static finalmaps ("constant maps").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.ImmutableMap.Builder.orderEntriesByValue(Comparator<? super V> valueComparator) Configures thisBuilderto order entries by value according to the specified comparator.Adds the givenentryto the map, making it immutable if necessary.Associateskeywithvaluein 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.