Package com.tangosol.util
Class SafeSortedMap.SubMap
java.lang.Object
java.util.AbstractMap
com.tangosol.util.SafeSortedMap.SubMap
- All Implemented Interfaces:
Serializable
,Cloneable
,ConcurrentMap
,ConcurrentNavigableMap
,Map
,NavigableMap
,SequencedMap
,SortedMap
- Enclosing class:
SafeSortedMap
protected static class SafeSortedMap.SubMap
extends AbstractMap
implements ConcurrentNavigableMap, Cloneable, Serializable
SubMap delegation to manage
SafeSortedMap.NULL
in entry key and/or value.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,
V>, AbstractMap.SimpleImmutableEntry<K, V> -
Method Summary
Modifier and TypeMethodDescriptionceilingEntry
(Object oKey) ceilingKey
(Object oKey) void
clear()
clone()
compute
(Object oKey, BiFunction remappingFunction) computeIfAbsent
(Object oKey, Function mappingFunction) computeIfPresent
(Object oKey, BiFunction remappingFunction) boolean
containsKey
(Object oKey) boolean
containsValue
(Object oValue) entrySet()
firstKey()
floorEntry
(Object oKey) void
forEach
(BiConsumer action) getOrDefault
(Object oKey, Object oDefaultValue) higherEntry
(Object oKey) boolean
isEmpty()
keySet()
lastKey()
lowerEntry
(Object oKey) merge
(Object oKey, Object oValue, BiFunction remappingFunction) putIfAbsent
(Object oKey, Object oValue) boolean
boolean
void
replaceAll
(BiFunction function) int
size()
values()
Methods inherited from class java.util.AbstractMap
equals, hashCode, putAll, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.NavigableMap
reversed
Methods inherited from interface java.util.SequencedMap
sequencedEntrySet, sequencedKeySet, sequencedValues
-
Method Details
-
clone
- Overrides:
clone
in classAbstractMap
-
containsKey
- Specified by:
containsKey
in interfaceMap
- Overrides:
containsKey
in classAbstractMap
-
get
- Specified by:
get
in interfaceMap
- Overrides:
get
in classAbstractMap
-
put
- Specified by:
put
in interfaceMap
- Overrides:
put
in classAbstractMap
-
remove
- Specified by:
remove
in interfaceMap
- Overrides:
remove
in classAbstractMap
-
size
public int size()- Specified by:
size
in interfaceMap
- Overrides:
size
in classAbstractMap
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceMap
- Overrides:
isEmpty
in classAbstractMap
-
containsValue
- Specified by:
containsValue
in interfaceMap
- Overrides:
containsValue
in classAbstractMap
-
clear
public void clear()- Specified by:
clear
in interfaceMap
- Overrides:
clear
in classAbstractMap
-
subMap
public ConcurrentNavigableMap subMap(Object oFromKey, boolean fFromInclusive, Object oToKey, boolean fToInclusive) - Specified by:
subMap
in interfaceConcurrentNavigableMap
- Specified by:
subMap
in interfaceNavigableMap
-
headMap
- Specified by:
headMap
in interfaceConcurrentNavigableMap
- Specified by:
headMap
in interfaceNavigableMap
-
tailMap
- Specified by:
tailMap
in interfaceConcurrentNavigableMap
- Specified by:
tailMap
in interfaceNavigableMap
-
comparator
- Specified by:
comparator
in interfaceSortedMap
-
subMap
- Specified by:
subMap
in interfaceConcurrentNavigableMap
- Specified by:
subMap
in interfaceNavigableMap
- Specified by:
subMap
in interfaceSortedMap
-
headMap
- Specified by:
headMap
in interfaceConcurrentNavigableMap
- Specified by:
headMap
in interfaceNavigableMap
- Specified by:
headMap
in interfaceSortedMap
-
tailMap
- Specified by:
tailMap
in interfaceConcurrentNavigableMap
- Specified by:
tailMap
in interfaceNavigableMap
- Specified by:
tailMap
in interfaceSortedMap
-
firstKey
-
lastKey
-
lowerEntry
- Specified by:
lowerEntry
in interfaceNavigableMap
-
lowerKey
- Specified by:
lowerKey
in interfaceNavigableMap
-
floorEntry
- Specified by:
floorEntry
in interfaceNavigableMap
-
floorKey
- Specified by:
floorKey
in interfaceNavigableMap
-
ceilingEntry
- Specified by:
ceilingEntry
in interfaceNavigableMap
-
ceilingKey
- Specified by:
ceilingKey
in interfaceNavigableMap
-
higherEntry
- Specified by:
higherEntry
in interfaceNavigableMap
-
higherKey
- Specified by:
higherKey
in interfaceNavigableMap
-
firstEntry
- Specified by:
firstEntry
in interfaceNavigableMap
- Specified by:
firstEntry
in interfaceSequencedMap
-
lastEntry
- Specified by:
lastEntry
in interfaceNavigableMap
- Specified by:
lastEntry
in interfaceSequencedMap
-
pollFirstEntry
- Specified by:
pollFirstEntry
in interfaceNavigableMap
- Specified by:
pollFirstEntry
in interfaceSequencedMap
-
pollLastEntry
- Specified by:
pollLastEntry
in interfaceNavigableMap
- Specified by:
pollLastEntry
in interfaceSequencedMap
-
descendingMap
- Specified by:
descendingMap
in interfaceConcurrentNavigableMap
- Specified by:
descendingMap
in interfaceNavigableMap
-
keySet
- Specified by:
keySet
in interfaceConcurrentNavigableMap
- Specified by:
keySet
in interfaceMap
- Specified by:
keySet
in interfaceSortedMap
- Overrides:
keySet
in classAbstractMap
-
values
-
entrySet
-
descendingKeySet
- Specified by:
descendingKeySet
in interfaceConcurrentNavigableMap
- Specified by:
descendingKeySet
in interfaceNavigableMap
-
putIfAbsent
- Specified by:
putIfAbsent
in interfaceConcurrentMap
- Specified by:
putIfAbsent
in interfaceMap
-
getOrDefault
- Specified by:
getOrDefault
in interfaceConcurrentMap
- Specified by:
getOrDefault
in interfaceMap
-
forEach
- Specified by:
forEach
in interfaceConcurrentMap
- Specified by:
forEach
in interfaceMap
-
remove
- Specified by:
remove
in interfaceConcurrentMap
- Specified by:
remove
in interfaceMap
-
replace
- Specified by:
replace
in interfaceConcurrentMap
- Specified by:
replace
in interfaceMap
-
replace
- Specified by:
replace
in interfaceConcurrentMap
- Specified by:
replace
in interfaceMap
-
replaceAll
- Specified by:
replaceAll
in interfaceConcurrentMap
- Specified by:
replaceAll
in interfaceMap
-
computeIfAbsent
- Specified by:
computeIfAbsent
in interfaceConcurrentMap
- Specified by:
computeIfAbsent
in interfaceMap
-
computeIfPresent
- Specified by:
computeIfPresent
in interfaceConcurrentMap
- Specified by:
computeIfPresent
in interfaceMap
-
compute
- Specified by:
compute
in interfaceConcurrentMap
- Specified by:
compute
in interfaceMap
-
merge
- Specified by:
merge
in interfaceConcurrentMap
- Specified by:
merge
in interfaceMap
-