protected static class DualTreeBidiMap.ViewMap<K,V> extends AbstractSortedMapDecorator<K,V>
AbstractSortedMapDecorator.SortedMapIterator<K,V>
Modifier | Constructor and Description |
---|---|
protected |
DualTreeBidiMap.ViewMap(DualTreeBidiMap<K,V> bidi,
SortedMap<K,V> sm)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsValue(Object value) |
protected DualTreeBidiMap<K,V> |
decorated()
Gets the map being decorated.
|
SortedMap<K,V> |
headMap(K toKey) |
K |
nextKey(K key)
Gets the next key after the one specified.
|
K |
previousKey(K key)
Gets the previous key before the one specified.
|
SortedMap<K,V> |
subMap(K fromKey,
K toKey) |
SortedMap<K,V> |
tailMap(K fromKey) |
comparator, firstKey, lastKey, mapIterator
containsKey, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, toString, values
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
protected DualTreeBidiMap.ViewMap(DualTreeBidiMap<K,V> bidi, SortedMap<K,V> sm)
bidi
- the parent bidi mapsm
- the subMap sorted mappublic boolean containsValue(Object value)
containsValue
in interface Map<K,V>
containsValue
in interface Get<K,V>
containsValue
in class AbstractMapDecorator<K,V>
Map.containsValue(Object)
public void clear()
protected DualTreeBidiMap<K,V> decorated()
AbstractSortedMapDecorator
decorated
in class AbstractSortedMapDecorator<K,V>
public K previousKey(K key)
OrderedMap
previousKey
in interface OrderedMap<K,V>
previousKey
in class AbstractSortedMapDecorator<K,V>
key
- the key to search for previous frompublic K nextKey(K key)
OrderedMap
nextKey
in interface OrderedMap<K,V>
nextKey
in class AbstractSortedMapDecorator<K,V>
key
- the key to search for next fromCopyright © 2001–2013 The Apache Software Foundation. All rights reserved.