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
-
- Enclosing class:
- DualTreeBidiMap
protected static class DualTreeBidiMap.ViewMap extends AbstractSortedMapDecorator
Internal sorted map view.
-
-
Field Summary
-
Fields inherited from class org.apache.commons.collections.map.AbstractMapDecorator
map
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ViewMap(DualTreeBidiMap bidi, SortedMap sm)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
boolean
containsValue(Object value)
SortedMap
headMap(Object toKey)
SortedMap
subMap(Object fromKey, Object toKey)
SortedMap
tailMap(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
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, containsKey, equals, forEach, get, getOrDefault, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size
-
-
-
-
Constructor Detail
-
ViewMap
protected ViewMap(DualTreeBidiMap bidi, SortedMap sm)
Constructor.- Parameters:
bidi
- the parent bidi mapsm
- the subMap sorted map
-
-
Method Detail
-
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValue
in interfaceMap
- Overrides:
containsValue
in classAbstractMapDecorator
-
clear
public void clear()
- Specified by:
clear
in interfaceMap
- Overrides:
clear
in classAbstractMapDecorator
-
headMap
public SortedMap headMap(Object toKey)
- Specified by:
headMap
in interfaceSortedMap
- Overrides:
headMap
in classAbstractSortedMapDecorator
-
tailMap
public SortedMap tailMap(Object fromKey)
- Specified by:
tailMap
in interfaceSortedMap
- Overrides:
tailMap
in classAbstractSortedMapDecorator
-
-