public class WrapperCollections.AbstractWrapperSortedMap<K,V> extends WrapperCollections.AbstractWrapperMap<K,V> implements SortedMap<K,V>
m_mapDelegate| Modifier | Constructor and Description |
|---|---|
|
AbstractWrapperSortedMap()
Construct instance which wraps an instance of a
SortedMap. |
protected |
AbstractWrapperSortedMap(SortedMap<K,V> map)
Create an AbstractWrapperMap which delegates to the specified Map.
|
| Modifier and Type | Method and Description |
|---|---|
Comparator<? super K> |
comparator() |
K |
firstKey() |
protected SortedMap<K,V> |
getDelegate()
Return the Map to which all operations should be delegated to.
|
SortedMap<K,V> |
headMap(K toKey) |
K |
lastKey() |
SortedMap<K,V> |
subMap(K fromKey,
K toKey) |
SortedMap<K,V> |
tailMap(K fromKey) |
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, toString, valuesclone, finalize, getClass, notify, notifyAll, wait, wait, waitclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, equals, forEach, get, getOrDefault, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, sizepublic AbstractWrapperSortedMap()
SortedMap.protected SortedMap<K,V> getDelegate()
getDelegate in class WrapperCollections.AbstractWrapperMap<K,V>public Comparator<? super K> comparator()
comparator in interface SortedMap<K,V>