| Package | Description | 
|---|---|
| com.google.common.collect | This package contains generic collection interfaces and implementations, and other utilities for
 working with collections. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | EnumBiMap<K extends Enum<K>,V extends Enum<V>>A  BiMapbacked by twoEnumMapinstances. | 
| class  | EnumHashBiMap<K extends Enum<K>,V>A  BiMapbacked by anEnumMapinstance for keys-to-values, and aHashMapinstance for values-to-keys. | 
| class  | HashBiMap<K,V>A  BiMapbacked by two hash tables. | 
| class  | ImmutableBiMap<K,V>A  BiMapwhose contents will never change, with many other important properties detailed
 atImmutableCollection. | 
| Modifier and Type | Method and Description | 
|---|---|
| static <K,V> BiMap<K,V> | Maps. filterEntries(BiMap<K,V> unfiltered,
             Predicate<? super Map.Entry<K,V>> entryPredicate)Returns a bimap containing the mappings in  unfilteredthat satisfy a predicate. | 
| static <K,V> BiMap<K,V> | Maps. filterKeys(BiMap<K,V> unfiltered,
          Predicate<? super K> keyPredicate)Returns a bimap containing the mappings in  unfilteredwhose keys satisfy a predicate. | 
| static <K,V> BiMap<K,V> | Maps. filterValues(BiMap<K,V> unfiltered,
            Predicate<? super V> valuePredicate)Returns a bimap containing the mappings in  unfilteredwhose values satisfy a predicate. | 
| BiMap<V,K> | BiMap. inverse()Returns the inverse view of this bimap, which maps each of this bimap's values to its
 associated key. | 
| BiMap<V,K> | HashBiMap. inverse() | 
| static <K,V> BiMap<K,V> | Maps. synchronizedBiMap(BiMap<K,V> bimap)Returns a synchronized (thread-safe) bimap backed by the specified bimap. | 
| static <K,V> BiMap<K,V> | Maps. unmodifiableBiMap(BiMap<? extends K,? extends V> bimap)Returns an unmodifiable view of the specified bimap. | 
| Modifier and Type | Method and Description | 
|---|---|
| static <A,B> Converter<A,B> | Maps. asConverter(BiMap<A,B> bimap)Returns a  Converterthat converts values usingbimap.get(), and whose
 inverse view converts values usingbimap.inverse().get(). | 
| static <K,V> BiMap<K,V> | Maps. filterEntries(BiMap<K,V> unfiltered,
             Predicate<? super Map.Entry<K,V>> entryPredicate)Returns a bimap containing the mappings in  unfilteredthat satisfy a predicate. | 
| static <K,V> BiMap<K,V> | Maps. filterKeys(BiMap<K,V> unfiltered,
          Predicate<? super K> keyPredicate)Returns a bimap containing the mappings in  unfilteredwhose keys satisfy a predicate. | 
| static <K,V> BiMap<K,V> | Maps. filterValues(BiMap<K,V> unfiltered,
            Predicate<? super V> valuePredicate)Returns a bimap containing the mappings in  unfilteredwhose values satisfy a predicate. | 
| static <K,V> BiMap<K,V> | Maps. synchronizedBiMap(BiMap<K,V> bimap)Returns a synchronized (thread-safe) bimap backed by the specified bimap. | 
| static <K,V> BiMap<K,V> | Maps. unmodifiableBiMap(BiMap<? extends K,? extends V> bimap)Returns an unmodifiable view of the specified bimap. | 
Copyright © 2010–2019. All rights reserved.