Class DualTreeBidiMap.ViewMap
- java.lang.Object
-
- org.apache.commons.collections.map.AbstractMapDecorator
-
- org.apache.commons.collections.map.AbstractSortedMapDecorator
-
- org.apache.commons.collections.bidimap.DualTreeBidiMap.ViewMap
-
- All Implemented Interfaces:
java.util.Map
,java.util.SortedMap
- Enclosing class:
- DualTreeBidiMap
protected static class DualTreeBidiMap.ViewMap extends AbstractSortedMapDecorator
Internal sorted map view.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) DualTreeBidiMap
bidi
The parent bidi map.-
Fields inherited from class org.apache.commons.collections.map.AbstractMapDecorator
map
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ViewMap(DualTreeBidiMap bidi, java.util.SortedMap sm)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
boolean
containsValue(java.lang.Object value)
java.util.SortedMap
headMap(java.lang.Object toKey)
java.util.SortedMap
subMap(java.lang.Object fromKey, java.lang.Object toKey)
java.util.SortedMap
tailMap(java.lang.Object fromKey)
-
Methods inherited from class org.apache.commons.collections.map.AbstractSortedMapDecorator
comparator, firstKey, getSortedMap, lastKey
-
Methods inherited from class org.apache.commons.collections.map.AbstractMapDecorator
containsKey, entrySet, equals, get, getMap, hashCode, isEmpty, keySet, put, putAll, remove, size, toString, values
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
bidi
final DualTreeBidiMap bidi
The parent bidi map.
-
-
Constructor Detail
-
ViewMap
protected ViewMap(DualTreeBidiMap bidi, java.util.SortedMap sm)
Constructor.- Parameters:
bidi
- the parent bidi mapsm
- the subMap sorted map
-
-
Method Detail
-
containsValue
public boolean containsValue(java.lang.Object value)
- Specified by:
containsValue
in interfacejava.util.Map
- Overrides:
containsValue
in classAbstractMapDecorator
-
clear
public void clear()
- Specified by:
clear
in interfacejava.util.Map
- Overrides:
clear
in classAbstractMapDecorator
-
headMap
public java.util.SortedMap headMap(java.lang.Object toKey)
- Specified by:
headMap
in interfacejava.util.SortedMap
- Overrides:
headMap
in classAbstractSortedMapDecorator
-
tailMap
public java.util.SortedMap tailMap(java.lang.Object fromKey)
- Specified by:
tailMap
in interfacejava.util.SortedMap
- Overrides:
tailMap
in classAbstractSortedMapDecorator
-
subMap
public java.util.SortedMap subMap(java.lang.Object fromKey, java.lang.Object toKey)
- Specified by:
subMap
in interfacejava.util.SortedMap
- Overrides:
subMap
in classAbstractSortedMapDecorator
-
-