Class LocMap<K,T>
java.lang.Object
de.hybris.platform.servicelayer.internal.model.LocMap<K,T>
- All Implemented Interfaces:
Serializable,Map<K,T>
Thread-safe localized value map to be used in
AbstractItemModel.
Please note this class was necessary to be created since ConcurrentHashMap is not capable to store NULL
values.
Internally all calls are delegated to a instance of ConcurrentHashMap but NULL values are masked by a
specific token that is being translated upon read access.
- See Also:
-
Nested Class Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
LocMap
public LocMap()
-
-
Method Details
-
put
-
size
public int size() -
isEmpty
public boolean isEmpty() -
containsKey
- Specified by:
containsKeyin interfaceMap<K,T>
-
containsValue
- Specified by:
containsValuein interfaceMap<K,T>
-
get
-
remove
-
putAll
-
clear
public void clear() -
keySet
-
values
-
entrySet
-
toString
-