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>,SortedMap<K,V>
- Enclosing class:
- WrapperCollections
public class WrapperCollections.AbstractWrapperSortedMap<K,V> extends WrapperCollections.AbstractWrapperMap<K,V> implements SortedMap<K,V>
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.tangosol.util.WrapperCollections.AbstractWrapperMap
m_mapDelegate
-
-
Constructor Summary
Constructors Modifier Constructor Description AbstractWrapperSortedMap()Construct instance which wraps an instance of aSortedMap.protectedAbstractWrapperSortedMap(SortedMap<K,V> map)Create an AbstractWrapperMap which delegates to the specified Map.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Comparator<? super K>comparator()KfirstKey()protected SortedMap<K,V>getDelegate()Return the Map to which all operations should be delegated to.SortedMap<K,V>headMap(K toKey)KlastKey()SortedMap<K,V>subMap(K fromKey, K toKey)SortedMap<K,V>tailMap(K fromKey)-
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, values
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods 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, size
-
-
-
-
Constructor Detail
-
AbstractWrapperSortedMap
public AbstractWrapperSortedMap()
Construct instance which wraps an instance of aSortedMap.
-
-
Method Detail
-
getDelegate
protected SortedMap<K,V> getDelegate()
Return the Map to which all operations should be delegated to.- Overrides:
getDelegatein classWrapperCollections.AbstractWrapperMap<K,V>- Returns:
- the wrapped Map
-
comparator
public Comparator<? super K> comparator()
- Specified by:
comparatorin interfaceSortedMap<K,V>
-
-