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 protectedViewMap(DualTreeBidiMap bidi, SortedMap sm)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()booleancontainsValue(Object value)SortedMapheadMap(Object toKey)SortedMapsubMap(Object fromKey, Object toKey)SortedMaptailMap(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:
containsValuein interfaceMap- Overrides:
containsValuein classAbstractMapDecorator
-
clear
public void clear()
- Specified by:
clearin interfaceMap- Overrides:
clearin classAbstractMapDecorator
-
headMap
public SortedMap headMap(Object toKey)
- Specified by:
headMapin interfaceSortedMap- Overrides:
headMapin classAbstractSortedMapDecorator
-
tailMap
public SortedMap tailMap(Object fromKey)
- Specified by:
tailMapin interfaceSortedMap- Overrides:
tailMapin classAbstractSortedMapDecorator
-
-