Uses of Class
com.google.common.collect.ImmutableBiMap.Builder
Packages that use ImmutableBiMap.Builder
Package
Description
Collection interfaces and implementations, and other utilities for collections.
-
Uses of ImmutableBiMap.Builder in com.google.common.collect
Methods in com.google.common.collect that return ImmutableBiMap.BuilderModifier and TypeMethodDescriptionstatic <K,
V> ImmutableBiMap.Builder <K, V> ImmutableBiMap.builder()
Returns a new builder.static <K,
V> ImmutableBiMap.Builder <K, V> ImmutableBiMap.builderWithExpectedSize
(int expectedSize) Returns a new builder, expecting the specified number of entries to be added.ImmutableBiMap.Builder.orderEntriesByValue
(Comparator<? super V> valueComparator) Configures thisBuilder
to order entries by value according to the specified comparator.Adds the givenentry
to the bimap.Associateskey
withvalue
in the built bimap.Adds all of the given entries to the built bimap.Associates all of the given map's keys and values in the built bimap.