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) DualTreeBidiMapbidiThe parent bidi map.-
Fields inherited from class org.apache.commons.collections.map.AbstractMapDecorator
map
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedViewMap(DualTreeBidiMap bidi, java.util.SortedMap sm)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()booleancontainsValue(java.lang.Object value)java.util.SortedMapheadMap(java.lang.Object toKey)java.util.SortedMapsubMap(java.lang.Object fromKey, java.lang.Object toKey)java.util.SortedMaptailMap(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:
containsValuein interfacejava.util.Map- Overrides:
containsValuein classAbstractMapDecorator
-
clear
public void clear()
- Specified by:
clearin interfacejava.util.Map- Overrides:
clearin classAbstractMapDecorator
-
headMap
public java.util.SortedMap headMap(java.lang.Object toKey)
- Specified by:
headMapin interfacejava.util.SortedMap- Overrides:
headMapin classAbstractSortedMapDecorator
-
tailMap
public java.util.SortedMap tailMap(java.lang.Object fromKey)
- Specified by:
tailMapin interfacejava.util.SortedMap- Overrides:
tailMapin classAbstractSortedMapDecorator
-
subMap
public java.util.SortedMap subMap(java.lang.Object fromKey, java.lang.Object toKey)- Specified by:
subMapin interfacejava.util.SortedMap- Overrides:
subMapin classAbstractSortedMapDecorator
-
-