protected static class DualTreeBidiMap.ViewMap<K,V> extends AbstractSortedMapDecorator<K,V>
AbstractSortedMapDecorator.SortedMapIterator<K,V>
Modifier | Constructor and Description |
---|---|
protected |
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
put, putAll
compute, computeIfAbsent, computeIfPresent, containsKey, equals, forEach, get, getOrDefault, hashCode, isEmpty, merge, putIfAbsent, remove, remove, replace, replace, replaceAll, size
public boolean containsValue(Object value)
containsValue
in interface Map<K,V>
containsValue
in class AbstractMapDecorator<K,V>
public void clear()
clear
in interface Map<K,V>
clear
in interface IterableMap<K,V>
clear
in class AbstractMapDecorator<K,V>
Map.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 © 2006–2022 Apache Software Foundation. All rights reserved.