org.apache.commons.collections.bidimap
Class AbstractOrderedBidiMapDecorator
- BidiMap, IterableMap, Map, OrderedBidiMap, OrderedMap
public abstract class AbstractOrderedBidiMapDecorator
Provides a base decorator that enables additional functionality to be added
to an OrderedBidiMap via decoration.
Methods are forwarded directly to the decorated map.
This implementation does not perform any special processing with the map views.
Instead it simply returns the inverse from the wrapped map. This may be
undesirable, for example if you are trying to write a validating implementation
it would provide a loophole around the validation.
But, you might want that loophole, so this class is kept simple.
$Revision: 1.4 $ $Date: 2004/02/18 00:57:39 $
clear , containsKey , containsValue , entrySet , equals , get , getMap , hashCode , isEmpty , keySet , put , putAll , remove , size , toString , values |
AbstractOrderedBidiMapDecorator
protected AbstractOrderedBidiMapDecorator(OrderedBidiMap map)
Constructor that wraps (not copies).
map
- the map to decorate, must not be null
getOrderedBidiMap
protected OrderedBidiMap getOrderedBidiMap()
Gets the map being decorated.
Copyright © 2001-2006 Apache Software Foundation. All Rights Reserved.