|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use BiMap | |
---|---|
com.google.common.collect | This package contains generic collection interfaces and implementations, and other utilities for working with collections. |
com.google.common.collect.testing.google |
Uses of BiMap in com.google.common.collect |
---|
Classes in com.google.common.collect that implement BiMap | |
---|---|
class |
EnumBiMap<K extends Enum<K>,V extends Enum<V>>
A BiMap backed by two EnumMap instances. |
class |
EnumHashBiMap<K extends Enum<K>,V>
A BiMap backed by an EnumMap instance for keys-to-values, and
a HashMap instance for values-to-keys. |
class |
HashBiMap<K,V>
A BiMap backed by two HashMap instances. |
class |
ImmutableBiMap<K,V>
An immutable BiMap with reliable user-specified iteration order. |
Methods in com.google.common.collect that return BiMap | ||
---|---|---|
static
|
MapConstraints.constrainedBiMap(BiMap<K,V> map,
MapConstraint<? super K,? super V> constraint)
Returns a constrained view of the specified bimap, using the specified constraint. |
|
BiMap<V,K> |
BiMap.inverse()
Returns the inverse view of this bimap, which maps each of this bimap's values to its associated key. |
|
static
|
Maps.synchronizedBiMap(BiMap<K,V> bimap)
Returns a synchronized (thread-safe) bimap backed by the specified bimap. |
|
static
|
Maps.unmodifiableBiMap(BiMap<? extends K,? extends V> bimap)
Returns an unmodifiable view of the specified bimap. |
Methods in com.google.common.collect with parameters of type BiMap | ||
---|---|---|
static
|
MapConstraints.constrainedBiMap(BiMap<K,V> map,
MapConstraint<? super K,? super V> constraint)
Returns a constrained view of the specified bimap, using the specified constraint. |
|
static
|
Maps.synchronizedBiMap(BiMap<K,V> bimap)
Returns a synchronized (thread-safe) bimap backed by the specified bimap. |
|
static
|
Maps.unmodifiableBiMap(BiMap<? extends K,? extends V> bimap)
Returns an unmodifiable view of the specified bimap. |
Uses of BiMap in com.google.common.collect.testing.google |
---|
Methods in com.google.common.collect.testing.google that return BiMap | |
---|---|
protected abstract BiMap<String,String> |
TestStringBiMapGenerator.create(Map.Entry<String,String>[] entries)
|
protected BiMap<String,String> |
BiMapGenerators.ImmutableBiMapGenerator.create(Map.Entry<String,String>[] entries)
|
BiMap<String,String> |
TestStringBiMapGenerator.create(Object... entries)
|
BiMap<V,K> |
BiMapTestSuiteBuilder.InverseBiMapGenerator.create(Object... elements)
|
protected BiMap<K,V> |
AbstractBiMapTester.getMap()
|
Method parameters in com.google.common.collect.testing.google with type arguments of type BiMap | |
---|---|
protected List<junit.framework.TestSuite> |
BiMapTestSuiteBuilder.createDerivedSuites(FeatureSpecificTestSuiteBuilder<?,? extends OneSizeTestContainerGenerator<BiMap<K,V>,Map.Entry<K,V>>> parentBuilder)
|
Constructor parameters in com.google.common.collect.testing.google with type arguments of type BiMap | |
---|---|
BiMapTestSuiteBuilder.BiMapValueSetGenerator(OneSizeTestContainerGenerator<BiMap<K,V>,Map.Entry<K,V>> mapGenerator)
|
|
BiMapTestSuiteBuilder.InverseBiMapGenerator(OneSizeTestContainerGenerator<BiMap<K,V>,Map.Entry<K,V>> oneSizeTestContainerGenerator)
|
|
BiMapTestSuiteBuilder.MapGenerator(OneSizeTestContainerGenerator<BiMap<K,V>,Map.Entry<K,V>> oneSizeTestContainerGenerator)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |