Package com.tangosol.util
Class WrapperCollections.AbstractWrapperSortedMap<K,V>
java.lang.Object
com.tangosol.util.WrapperCollections.AbstractWrapperMap<K,V>
com.tangosol.util.WrapperCollections.AbstractWrapperSortedMap<K,V>
- All Implemented Interfaces:
Serializable,Map<K,,V> SequencedMap<K,,V> SortedMap<K,V>
- Enclosing class:
WrapperCollections
public class WrapperCollections.AbstractWrapperSortedMap<K,V>
extends WrapperCollections.AbstractWrapperMap<K,V>
implements SortedMap<K,V>
- See Also:
-
Nested Class Summary
-
Field Summary
Fields inherited from class com.tangosol.util.WrapperCollections.AbstractWrapperMap
m_mapDelegate -
Constructor Summary
ConstructorsModifierConstructorDescriptionConstruct instance which wraps an instance of aSortedMap.protectedAbstractWrapperSortedMap(SortedMap<K, V> map) Create an AbstractWrapperMap which delegates to the specified Map. -
Method Summary
Modifier and TypeMethodDescriptionComparator<? super K> firstKey()Return the Map to which all operations should be delegated to.lastKey()Methods inherited from class com.tangosol.util.WrapperCollections.AbstractWrapperMap
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, valuesMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, equals, forEach, get, getOrDefault, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, sizeMethods inherited from interface java.util.SequencedMap
firstEntry, lastEntry, pollFirstEntry, pollLastEntry, sequencedEntrySet, sequencedKeySet, sequencedValues
-
Constructor Details
-
AbstractWrapperSortedMap
public AbstractWrapperSortedMap()Construct instance which wraps an instance of aSortedMap. -
AbstractWrapperSortedMap
Create an AbstractWrapperMap which delegates to the specified Map.- Parameters:
map- the Map to delegate all calls to
-
-
Method Details
-
getDelegate
Return the Map to which all operations should be delegated to.- Overrides:
getDelegatein classWrapperCollections.AbstractWrapperMap<K,V> - Returns:
- the wrapped Map
-
comparator
- Specified by:
comparatorin interfaceSortedMap<K,V>
-
subMap
-
headMap
-
tailMap
-
firstKey
-
lastKey
-