org.apache.commons.collections.bidimap
Class DualTreeBidiMap.ViewMap<K,V>
java.lang.Object
org.apache.commons.collections.map.AbstractMapDecorator<K,V>
org.apache.commons.collections.map.AbstractSortedMapDecorator<K,V>
org.apache.commons.collections.bidimap.DualTreeBidiMap.ViewMap<K,V>
- All Implemented Interfaces:
- Map<K,V>, SortedMap<K,V>
- Enclosing class:
- DualTreeBidiMap<K,V>
protected static class DualTreeBidiMap.ViewMap<K,V>
- extends AbstractSortedMapDecorator<K,V>
Internal sorted map view.
Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
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 interface java.util.Map |
containsKey, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
DualTreeBidiMap.ViewMap
protected DualTreeBidiMap.ViewMap(DualTreeBidiMap<K,V> bidi,
SortedMap<K,V> sm)
- Constructor.
- Parameters:
bidi
- the parent bidi mapsm
- the subMap sorted map
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValue
in interface Map<K,V>
- Overrides:
containsValue
in class AbstractMapDecorator<K,V>
clear
public void clear()
- Specified by:
clear
in interface Map<K,V>
- Overrides:
clear
in class AbstractMapDecorator<K,V>
headMap
public SortedMap<K,V> headMap(K toKey)
- Specified by:
headMap
in interface SortedMap<K,V>
- Overrides:
headMap
in class AbstractSortedMapDecorator<K,V>
tailMap
public SortedMap<K,V> tailMap(K fromKey)
- Specified by:
tailMap
in interface SortedMap<K,V>
- Overrides:
tailMap
in class AbstractSortedMapDecorator<K,V>
subMap
public SortedMap<K,V> subMap(K fromKey,
K toKey)
- Specified by:
subMap
in interface SortedMap<K,V>
- Overrides:
subMap
in class AbstractSortedMapDecorator<K,V>
Copyright © 2005-2005 Apache Software Foundation, Matt Hall, John Watkinson. All Rights Reserved.