org.apache.commons.collections.bidimap
public final class UnmodifiableSortedBidiMap extends AbstractSortedBidiMapDecorator implements Unmodifiable
SortedBidiMap to ensure it can't be altered.
Since: Commons Collections 3.0
Version: $Revision: 646777 $ $Date: 2008-04-10 13:33:15 +0100 (Thu, 10 Apr 2008) $
| Method Summary | |
|---|---|
| void | clear() |
| static SortedBidiMap | decorate(SortedBidiMap map)
Factory method to create an unmodifiable map.
|
| Set | entrySet() |
| SortedMap | headMap(Object toKey) |
| BidiMap | inverseBidiMap() |
| OrderedBidiMap | inverseOrderedBidiMap() |
| SortedBidiMap | inverseSortedBidiMap() |
| Set | keySet() |
| MapIterator | mapIterator() |
| OrderedMapIterator | orderedMapIterator() |
| Object | put(Object key, Object value) |
| void | putAll(Map mapToCopy) |
| Object | remove(Object key) |
| Object | removeValue(Object value) |
| SortedMap | subMap(Object fromKey, Object toKey) |
| SortedMap | tailMap(Object fromKey) |
| 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 SortedBidiMap
Throws: IllegalArgumentException if map is null