Package com.tangosol.util
Class SafeSortedMap
java.lang.Object
java.util.AbstractMap
java.util.concurrent.ConcurrentSkipListMap
com.tangosol.util.SafeSortedMap
- All Implemented Interfaces:
 Serializable,Cloneable,ConcurrentMap,ConcurrentNavigableMap,Map,NavigableMap,SequencedMap,SortedMap
Deprecated.
Implementation of a 
SortedMap extending ConcurrentSkipListMap
 to support null keys and null values. Note that unlike its super class, this class is not serializable.- Since:
 - 23.03
 - Author:
 - mg
 - See Also:
 
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classDeprecated.Entry set delegation of the super map implementation.protected static classDeprecated.Key set delegation of the super map implementation.static classDeprecated.protected static classDeprecated.Map.Entry implementation that supports null key/value placeholders.protected static classDeprecated.SubMap delegation to manageNULLin entry key and/or value.protected static classDeprecated.Values delegation of the super map implementation.Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V>  - 
Field Summary
Fields - 
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Construct a new SafeSortedMap using the natural ordering of the Comparable keys in this map.SafeSortedMap(Comparator comparator) Deprecated.Construct a new SafeSortedMap with the specified Comparator.SafeSortedMap(SortedMap that) Deprecated.Construct a new SafeSortedMap copying the contents of the specified map. - 
Method Summary
Modifier and TypeMethodDescriptionclone()Deprecated.compute(Object oKey, BiFunction remappingFunction) Deprecated.computeIfAbsent(Object oKey, Function mappingFunction) Deprecated.computeIfPresent(Object oKey, BiFunction remappingFunction) Deprecated.booleancontainsKey(Object oKey) Deprecated.booleancontainsValue(Object oValue) Deprecated.Deprecated.Deprecated.entrySet()Deprecated.booleanDeprecated.firstKey()Deprecated.voidforEach(BiConsumer action) Deprecated.Deprecated.Deprecated.Locate a Map.Entry in this map based on its key.getOrDefault(Object oKey, Object oDefaultValue) Deprecated.Deprecated.Deprecated.keySet()Deprecated.lastKey()Deprecated.merge(Object oKey, Object oValue, BiFunction remappingFunction) Deprecated.Deprecated.putIfAbsent(Object oKey, Object oValue) Deprecated.Deprecated.booleanDeprecated.Deprecated.booleanDeprecated.voidreplaceAll(BiFunction function) Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.values()Deprecated.Methods inherited from class java.util.concurrent.ConcurrentSkipListMap
ceilingEntry, ceilingKey, clear, comparator, firstEntry, floorEntry, floorKey, higherEntry, higherKey, isEmpty, lastEntry, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, putFirst, putLast, sizeMethods inherited from class java.util.AbstractMap
hashCode, putAll, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.NavigableMap
reversedMethods inherited from interface java.util.SequencedMap
sequencedEntrySet, sequencedKeySet, sequencedValues 
- 
Field Details
- 
EMPTY
Deprecated.An empty, immutable SafeSortedMap instance. - 
NULL
Deprecated.Placeholder for anullkey or value. 
 - 
 - 
Constructor Details
- 
SafeSortedMap
public SafeSortedMap()Deprecated.Construct a new SafeSortedMap using the natural ordering of the Comparable keys in this map. - 
SafeSortedMap
Deprecated.Construct a new SafeSortedMap copying the contents of the specified map.- Parameters:
 that- the map copied
 - 
SafeSortedMap
Deprecated.Construct a new SafeSortedMap with the specified Comparator.- Parameters:
 comparator- the comparator used to sort this map
 
 - 
 - 
Method Details
- 
get
Deprecated.- Specified by:
 getin interfaceMap- Overrides:
 getin classConcurrentSkipListMap
 - 
put
Deprecated.- Specified by:
 putin interfaceMap- Overrides:
 putin classConcurrentSkipListMap
 - 
remove
Deprecated.- Specified by:
 removein interfaceMap- Overrides:
 removein classConcurrentSkipListMap
 - 
equals
Deprecated.- Specified by:
 equalsin interfaceMap- Overrides:
 equalsin classConcurrentSkipListMap
 - 
clone
Deprecated.- Overrides:
 clonein classConcurrentSkipListMap
 - 
containsKey
Deprecated.- Specified by:
 containsKeyin interfaceMap- Overrides:
 containsKeyin classConcurrentSkipListMap
 - 
containsValue
Deprecated.- Specified by:
 containsValuein interfaceMap- Overrides:
 containsValuein classConcurrentSkipListMap
 - 
entrySet
Deprecated. - 
keySet
Deprecated.- Specified by:
 keySetin interfaceConcurrentNavigableMap- Specified by:
 keySetin interfaceMap- Specified by:
 keySetin interfaceSortedMap- Overrides:
 keySetin classConcurrentSkipListMap
 - 
values
Deprecated. - 
descendingMap
Deprecated.- Specified by:
 descendingMapin interfaceConcurrentNavigableMap- Specified by:
 descendingMapin interfaceNavigableMap- Overrides:
 descendingMapin classConcurrentSkipListMap
 - 
descendingKeySet
Deprecated.- Specified by:
 descendingKeySetin interfaceConcurrentNavigableMap- Specified by:
 descendingKeySetin interfaceNavigableMap- Overrides:
 descendingKeySetin classConcurrentSkipListMap
 - 
getEntry
Deprecated.Locate a Map.Entry in this map based on its key.Note: the behaviour of {#setValue} on the returned Entry is undefined in the presence of concurrent modifications
- Parameters:
 oKey- the key to return an Entry for- Returns:
 - an Entry corresponding to the specified key, or null if none exists
 
 - 
firstKey
Deprecated.- Specified by:
 firstKeyin interfaceSortedMap- Overrides:
 firstKeyin classConcurrentSkipListMap
 - 
lastKey
Deprecated.- Specified by:
 lastKeyin interfaceSortedMap- Overrides:
 lastKeyin classConcurrentSkipListMap
 - 
subMap
public ConcurrentNavigableMap subMap(Object oFromKey, boolean fFromInclusive, Object oToKey, boolean fToInclusive) Deprecated.- Specified by:
 subMapin interfaceConcurrentNavigableMap- Specified by:
 subMapin interfaceNavigableMap- Overrides:
 subMapin classConcurrentSkipListMap
 - 
headMap
Deprecated.- Specified by:
 headMapin interfaceConcurrentNavigableMap- Specified by:
 headMapin interfaceNavigableMap- Overrides:
 headMapin classConcurrentSkipListMap
 - 
tailMap
Deprecated.- Specified by:
 tailMapin interfaceConcurrentNavigableMap- Specified by:
 tailMapin interfaceNavigableMap- Overrides:
 tailMapin classConcurrentSkipListMap
 - 
subMap
Deprecated.- Specified by:
 subMapin interfaceConcurrentNavigableMap- Specified by:
 subMapin interfaceNavigableMap- Specified by:
 subMapin interfaceSortedMap- Overrides:
 subMapin classConcurrentSkipListMap
 - 
headMap
Deprecated.- Specified by:
 headMapin interfaceConcurrentNavigableMap- Specified by:
 headMapin interfaceNavigableMap- Specified by:
 headMapin interfaceSortedMap- Overrides:
 headMapin classConcurrentSkipListMap
 - 
tailMap
Deprecated.- Specified by:
 tailMapin interfaceConcurrentNavigableMap- Specified by:
 tailMapin interfaceNavigableMap- Specified by:
 tailMapin interfaceSortedMap- Overrides:
 tailMapin classConcurrentSkipListMap
 - 
putIfAbsent
Deprecated.- Specified by:
 putIfAbsentin interfaceConcurrentMap- Specified by:
 putIfAbsentin interfaceMap- Overrides:
 putIfAbsentin classConcurrentSkipListMap
 - 
getOrDefault
Deprecated.- Specified by:
 getOrDefaultin interfaceConcurrentMap- Specified by:
 getOrDefaultin interfaceMap- Overrides:
 getOrDefaultin classConcurrentSkipListMap
 - 
forEach
Deprecated.- Specified by:
 forEachin interfaceConcurrentMap- Specified by:
 forEachin interfaceMap- Overrides:
 forEachin classConcurrentSkipListMap
 - 
remove
Deprecated.- Specified by:
 removein interfaceConcurrentMap- Specified by:
 removein interfaceMap- Overrides:
 removein classConcurrentSkipListMap
 - 
replace
Deprecated.- Specified by:
 replacein interfaceConcurrentMap- Specified by:
 replacein interfaceMap- Overrides:
 replacein classConcurrentSkipListMap
 - 
replace
Deprecated.- Specified by:
 replacein interfaceConcurrentMap- Specified by:
 replacein interfaceMap- Overrides:
 replacein classConcurrentSkipListMap
 - 
replaceAll
Deprecated.- Specified by:
 replaceAllin interfaceConcurrentMap- Specified by:
 replaceAllin interfaceMap- Overrides:
 replaceAllin classConcurrentSkipListMap
 - 
computeIfAbsent
Deprecated.- Specified by:
 computeIfAbsentin interfaceConcurrentMap- Specified by:
 computeIfAbsentin interfaceMap- Overrides:
 computeIfAbsentin classConcurrentSkipListMap
 - 
computeIfPresent
Deprecated.- Specified by:
 computeIfPresentin interfaceConcurrentMap- Specified by:
 computeIfPresentin interfaceMap- Overrides:
 computeIfPresentin classConcurrentSkipListMap
 - 
compute
Deprecated.- Specified by:
 computein interfaceConcurrentMap- Specified by:
 computein interfaceMap- Overrides:
 computein classConcurrentSkipListMap
 - 
merge
Deprecated.- Specified by:
 mergein interfaceConcurrentMap- Specified by:
 mergein interfaceMap- Overrides:
 mergein classConcurrentSkipListMap
 
 - 
 
NullableConcurrentMapinstead.