Uses of Interface
org.apache.commons.collections.BidiMap

Packages that use BidiMap
org.apache.commons.collections This package contains the interfaces and utilities shared across all the subpackages of this component. 
org.apache.commons.collections.bidimap This package contains implementations of the BidiMap, OrderedBidiMap and SortedBidiMap interfaces. 
 

Uses of BidiMap in org.apache.commons.collections
 

Subinterfaces of BidiMap in org.apache.commons.collections
 interface OrderedBidiMap<K,V>
          Defines a map that allows bidirectional lookup between key and values and retains and provides access to an ordering.
 interface SortedBidiMap<K,V>
          Defines a map that allows bidirectional lookup between key and values and retains both keys and values in sorted order.
 

Methods in org.apache.commons.collections that return BidiMap
 BidiMap<V,K> SortedBidiMap.inverseBidiMap()
          Gets a view of this map where the keys and values are reversed.
 BidiMap<V,K> OrderedBidiMap.inverseBidiMap()
          Gets a view of this map where the keys and values are reversed.
 BidiMap<V,K> BidiMap.inverseBidiMap()
          Gets a view of this map where the keys and values are reversed.
 

Uses of BidiMap in org.apache.commons.collections.bidimap
 

Classes in org.apache.commons.collections.bidimap that implement BidiMap
 class AbstractBidiMapDecorator<K,V>
          Provides a base decorator that enables additional functionality to be added to a BidiMap via decoration.
 class AbstractDualBidiMap<K,V>
          Abstract BidiMap implemented using two maps.
 class AbstractOrderedBidiMapDecorator<K,V>
          Provides a base decorator that enables additional functionality to be added to an OrderedBidiMap via decoration.
 class AbstractSortedBidiMapDecorator<K,V>
          Provides a base decorator that enables additional functionality to be added to a SortedBidiMap via decoration.
 class DualHashBidiMap<K,V>
          Implementation of BidiMap that uses two HashMap instances.
 class DualTreeBidiMap<K,V>
          Implementation of BidiMap that uses two TreeMap instances.
 class TreeBidiMap<K extends Comparable,V extends Comparable>
          Red-Black tree-based implementation of BidiMap where all objects added implement the Comparable interface.
 class UnmodifiableBidiMap<K,V>
          Decorates another BidiMap to ensure it can't be altered.
 class UnmodifiableOrderedBidiMap<K,V>
          Decorates another OrderedBidiMap to ensure it can't be altered.
 class UnmodifiableSortedBidiMap<K,V>
          Decorates another SortedBidiMap to ensure it can't be altered.
 

Fields in org.apache.commons.collections.bidimap declared as BidiMap
protected  BidiMap<V,K> AbstractDualBidiMap.inverseBidiMap
          Inverse view of this map.
 

Methods in org.apache.commons.collections.bidimap that return BidiMap
protected
<K,V> BidiMap<K,V>
DualTreeBidiMap.createBidiMap(Map<K,V> normalMap, Map<V,K> reverseMap, BidiMap<V,K> inverseMap)
          Creates a new instance of this object.
protected
<K,V> BidiMap<K,V>
DualHashBidiMap.createBidiMap(Map<K,V> normalMap, Map<V,K> reverseMap, BidiMap<V,K> inverseBidiMap)
          Creates a new instance of this object.
protected abstract
<K,V> BidiMap<K,V>
AbstractDualBidiMap.createBidiMap(Map<K,V> normalMap, Map<V,K> reverseMap, BidiMap<V,K> inverseMap)
          Creates a new instance of the subclass.
static
<K,V> BidiMap<K,V>
UnmodifiableBidiMap.decorate(BidiMap<K,V> map)
          Factory method to create an unmodifiable map.
protected  BidiMap<K,V> AbstractBidiMapDecorator.getBidiMap()
          Gets the map being decorated.
 BidiMap<V,K> UnmodifiableSortedBidiMap.inverseBidiMap()
           
 BidiMap<V,K> UnmodifiableOrderedBidiMap.inverseBidiMap()
           
 BidiMap<V,K> UnmodifiableBidiMap.inverseBidiMap()
           
 BidiMap<V,K> TreeBidiMap.inverseBidiMap()
          Gets the inverse map for comparison.
 BidiMap<V,K> AbstractDualBidiMap.inverseBidiMap()
           
 BidiMap<V,K> AbstractBidiMapDecorator.inverseBidiMap()
           
 

Methods in org.apache.commons.collections.bidimap with parameters of type BidiMap
protected
<K,V> BidiMap<K,V>
DualTreeBidiMap.createBidiMap(Map<K,V> normalMap, Map<V,K> reverseMap, BidiMap<V,K> inverseMap)
          Creates a new instance of this object.
protected
<K,V> BidiMap<K,V>
DualHashBidiMap.createBidiMap(Map<K,V> normalMap, Map<V,K> reverseMap, BidiMap<V,K> inverseBidiMap)
          Creates a new instance of this object.
protected abstract
<K,V> BidiMap<K,V>
AbstractDualBidiMap.createBidiMap(Map<K,V> normalMap, Map<V,K> reverseMap, BidiMap<V,K> inverseMap)
          Creates a new instance of the subclass.
static
<K,V> BidiMap<K,V>
UnmodifiableBidiMap.decorate(BidiMap<K,V> map)
          Factory method to create an unmodifiable map.
 

Constructors in org.apache.commons.collections.bidimap with parameters of type BidiMap
AbstractBidiMapDecorator(BidiMap<K,V> map)
          Constructor that wraps (not copies).
AbstractDualBidiMap(Map<K,V> normalMap, Map<V,K> reverseMap, BidiMap<V,K> inverseBidiMap)
          Constructs a map that decorates the specified maps, used by the subclass createBidiMap implementation.
DualHashBidiMap(Map<K,V> normalMap, Map<V,K> reverseMap, BidiMap<V,K> inverseBidiMap)
          Constructs a HashBidiMap that decorates the specified maps.
DualTreeBidiMap(Map<K,V> normalMap, Map<V,K> reverseMap, BidiMap<V,K> inverseBidiMap)
          Constructs a DualTreeBidiMap that decorates the specified maps.
 



Copyright © 2005-2005 Apache Software Foundation, Matt Hall, John Watkinson. All Rights Reserved.