Package | Description |
---|---|
com.google.common.collect |
This package contains generic collection interfaces and implementations, and
other utilities for working with collections.
|
Modifier and Type | Method and Description |
---|---|
static <K,V> ImmutableBiMap.Builder<K,V> |
ImmutableBiMap.builder()
Returns a new builder.
|
ImmutableBiMap.Builder<K,V> |
ImmutableBiMap.Builder.orderEntriesByValue(Comparator<? super V> valueComparator)
Configures this
Builder to order entries by value according to the specified
comparator. |
ImmutableBiMap.Builder<K,V> |
ImmutableBiMap.Builder.put(K key,
V value)
Associates
key with value in the built bimap. |
ImmutableBiMap.Builder<K,V> |
ImmutableBiMap.Builder.put(Map.Entry<? extends K,? extends V> entry)
Adds the given
entry to the bimap. |
ImmutableBiMap.Builder<K,V> |
ImmutableBiMap.Builder.putAll(Iterable<? extends Map.Entry<? extends K,? extends V>> entries)
Adds all of the given entries to the built bimap.
|
ImmutableBiMap.Builder<K,V> |
ImmutableBiMap.Builder.putAll(Map<? extends K,? extends V> map)
Associates all of the given map's keys and values in the built bimap.
|
Copyright © 2010–2017. All rights reserved.