Uses of Class
dev.mccue.guava.collect.ImmutableBiMap.Builder
-
Uses of ImmutableBiMap.Builder in dev.mccue.guava.collect
Methods in dev.mccue.guava.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 thisBuilderto order entries by value according to the specified comparator.Adds the givenentryto the bimap.Associateskeywithvaluein 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.