org.apache.commons.collections.bidimap
public final class UnmodifiableBidiMap extends AbstractBidiMapDecorator implements Unmodifiable
BidiMap
to ensure it can't be altered.
Since: Commons Collections 3.0
Version: $Revision: 155406 $ $Date: 2005-02-26 12:55:26 +0000 (Sat, 26 Feb 2005) $
Method Summary | |
---|---|
void | clear() |
static BidiMap | decorate(BidiMap map)
Factory method to create an unmodifiable map.
|
Set | entrySet() |
BidiMap | inverseBidiMap() |
Set | keySet() |
MapIterator | mapIterator() |
Object | put(Object key, Object value) |
void | putAll(Map mapToCopy) |
Object | remove(Object key) |
Object | removeValue(Object value) |
Collection | values() |
If the map passed in is already unmodifiable, it is returned.
Parameters: map the map to decorate, must not be null
Returns: an unmodifiable BidiMap
Throws: IllegalArgumentException if map is null