Uses of Class
com.google.common.collect.ImmutableBiMap
-
Packages that use ImmutableBiMap Package Description com.google.common.collect This package contains generic collection interfaces and implementations, and other utilities for working with collections.com.google.common.testing This package contains testing utilities. -
-
Uses of ImmutableBiMap in com.google.common.collect
Subclasses of ImmutableBiMap in com.google.common.collect Modifier and Type Class Description (package private) classRegularImmutableBiMap<K,V>Bimap with zero or more mappings.private classRegularImmutableBiMap.Inverse(package private) classSingletonImmutableBiMap<K,V>Implementation ofImmutableMapwith exactly one entry.Fields in com.google.common.collect declared as ImmutableBiMap Modifier and Type Field Description private ImmutableBiMap<K,V>RegularImmutableBiMap.InverseSerializedForm. forwardprivate ImmutableBiMap<V,K>RegularImmutableBiMap. inverse(package private) ImmutableBiMap<V,K>SingletonImmutableBiMap. inverseMethods in com.google.common.collect that return ImmutableBiMap Modifier and Type Method Description ImmutableBiMap<K,V>ImmutableBiMap.Builder. build()Returns a newly-created immutable bimap.static <K,V>
ImmutableBiMap<K,V>ImmutableBiMap. copyOf(java.lang.Iterable<? extends java.util.Map.Entry<? extends K,? extends V>> entries)Returns an immutable bimap containing the given entries.static <K,V>
ImmutableBiMap<K,V>ImmutableBiMap. copyOf(java.util.Map<? extends K,? extends V> map)Returns an immutable bimap containing the same entries asmap.abstract ImmutableBiMap<V,K>ImmutableBiMap. inverse()Returns the inverse view of this bimap, which maps each of this bimap's values to its associated key.ImmutableBiMap<V,K>RegularImmutableBiMap. inverse()ImmutableBiMap<K,V>RegularImmutableBiMap.Inverse. inverse()ImmutableBiMap<V,K>SingletonImmutableBiMap. inverse()static <K,V>
ImmutableBiMap<K,V>ImmutableBiMap. of()Returns the empty bimap.static <K,V>
ImmutableBiMap<K,V>ImmutableBiMap. of(K k1, V v1)Returns an immutable bimap containing a single entry.static <K,V>
ImmutableBiMap<K,V>ImmutableBiMap. of(K k1, V v1, K k2, V v2)Returns an immutable map containing the given entries, in order.static <K,V>
ImmutableBiMap<K,V>ImmutableBiMap. of(K k1, V v1, K k2, V v2, K k3, V v3)Returns an immutable map containing the given entries, in order.static <K,V>
ImmutableBiMap<K,V>ImmutableBiMap. of(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4)Returns an immutable map containing the given entries, in order.static <K,V>
ImmutableBiMap<K,V>ImmutableBiMap. of(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4, K k5, V v5)Returns an immutable map containing the given entries, in order.Constructors in com.google.common.collect with parameters of type ImmutableBiMap Constructor Description InverseSerializedForm(ImmutableBiMap<K,V> forward)SerializedForm(ImmutableBiMap<?,?> bimap)SingletonImmutableBiMap(K singleKey, V singleValue, ImmutableBiMap<V,K> inverse) -
Uses of ImmutableBiMap in com.google.common.testing
Methods in com.google.common.testing that return ImmutableBiMap Modifier and Type Method Description private static <K,V>
ImmutableBiMap<K,V>FreshValueGenerator. generateImmutableBimap(K key, V value)
-