Class AttributeContainerAnyConcurrent<KEYTYPE>
java.lang.Object
java.util.AbstractMap<KEYTYPE,Object>
java.util.concurrent.ConcurrentHashMap<KEYTYPE,Object>
com.helger.commons.collection.impl.CommonsConcurrentHashMap<KEYTYPE,Object>
com.helger.commons.collection.attr.AttributeContainerConcurrent<KEYTYPE,Object>
com.helger.commons.collection.attr.AttributeContainerAnyConcurrent<KEYTYPE>
- Type Parameters:
KEYTYPE- Key type
- All Implemented Interfaces:
IAttributeContainer<KEYTYPE,,Object> IAttributeContainerAny<KEYTYPE>,ICommonsMap<KEYTYPE,,Object> ICloneable<ICommonsMap<KEYTYPE,,Object>> IGetterByKeyTrait<KEYTYPE>,Serializable,ConcurrentMap<KEYTYPE,,Object> Map<KEYTYPE,Object>
@ThreadSafe
public class AttributeContainerAnyConcurrent<KEYTYPE>
extends AttributeContainerConcurrent<KEYTYPE,Object>
implements IAttributeContainerAny<KEYTYPE>
Base class for all kind of string-object mapping container. This
implementation is thread-safe!
- Author:
- Philip Helger
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.concurrent.ConcurrentHashMap
ConcurrentHashMap.KeySetView<K,V> Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> Nested classes/interfaces inherited from interface com.helger.commons.collection.attr.IAttributeContainer
IAttributeContainer.IAfterSetValueCallback<KEYTYPE,VALUETYPE>, IAttributeContainer.IBeforeSetValueCallback<KEYTYPE, VALUETYPE> -
Constructor Summary
ConstructorsConstructorDescriptionAttributeContainerAnyConcurrent(Map<? extends KEYTYPE, ? extends Object> aMap) -
Method Summary
Methods inherited from class com.helger.commons.collection.attr.AttributeContainerConcurrent
afterSetValueCallbacks, beforeSetValueCallbacks, containsKey, equals, get, hashCode, toStringMethods inherited from class com.helger.commons.collection.impl.CommonsConcurrentHashMap
createInstanceMethods inherited from class java.util.concurrent.ConcurrentHashMap
clear, compute, computeIfAbsent, computeIfPresent, contains, containsValue, elements, entrySet, forEach, forEach, forEach, forEachEntry, forEachEntry, forEachKey, forEachKey, forEachValue, forEachValue, getOrDefault, isEmpty, keys, keySet, keySet, mappingCount, merge, newKeySet, newKeySet, put, putAll, putIfAbsent, reduce, reduceEntries, reduceEntries, reduceEntriesToDouble, reduceEntriesToInt, reduceEntriesToLong, reduceKeys, reduceKeys, reduceKeysToDouble, reduceKeysToInt, reduceKeysToLong, reduceToDouble, reduceToInt, reduceToLong, reduceValues, reduceValues, reduceValuesToDouble, reduceValuesToInt, reduceValuesToLong, remove, remove, replace, replace, replaceAll, search, searchEntries, searchKeys, searchValues, size, valuesMethods inherited from class java.util.AbstractMap
cloneMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.helger.commons.collection.attr.IAttributeContainer
afterSetValueCallbacks, beforeSetValueCallbacks, getAsBoolean, getAsDouble, getAsFloat, getAsInt, getAsLong, getValue, putAllIn, putInMethods inherited from interface com.helger.commons.collection.attr.IAttributeContainerAny
getAndSetFlag, putIn, putIn, putIn, putIn, putIn, putInMethods inherited from interface com.helger.commons.collection.impl.ICommonsMap
addAll, containsAnyEntry, containsAnyKey, containsAnyValue, copyOfEntrySet, copyOfKeySet, copyOfKeySet, copyOfValues, copyOfValues, copyOfValuesMapped, copyOfValuesMapped, createInstance, findFirstEntry, findFirstKey, findFirstValue, forEach, forEachKey, forEachKey, forEachValue, forEachValue, getAsUnmodifiable, getFirstEntry, getFirstEntry, getFirstKey, getFirstKey, getFirstValue, getFirstValue, getSortedByKey, getSortedByValue, getSwappedKeyValues, isNotEmpty, put, putAll, putAll, putAllMapped, putAllMapped, putAllMapped, putIf, putIfNotNull, removeAll, removeIf, removeIfKey, removeIfValue, removeObject, setAllMethods inherited from interface com.helger.commons.traits.IGetterByKeyTrait
containsNonNullValue, containsNullValue, getAsBigDecimal, getAsBigDecimal, getAsBigInteger, getAsBigInteger, getAsBoolean, getAsBooleanObj, getAsByte, getAsByte, getAsByteArray, getAsByteObj, getAsChar, getAsChar, getAsCharArray, getAsCharArray, getAsCharObj, getAsDouble, getAsDoubleObj, getAsFloat, getAsFloatObj, getAsInt, getAsIntObj, getAsLocalDate, getAsLocalDate, getAsLocalDate, getAsLocalDateTime, getAsLocalDateTime, getAsLocalDateTime, getAsLocalTime, getAsLocalTime, getAsLocalTime, getAsLong, getAsLongObj, getAsShort, getAsShort, getAsShortObj, getAsSqlBlob, getAsSqlClob, getAsSqlDate, getAsSqlNClob, getAsSqlRowId, getAsSqlTime, getAsSqlTimestamp, getAsString, getAsString, getAsStringList, getAsStringList, getAsStringSet, getAsStringSet, getCastedValue, getCastedValue, getCastedValue, getCastedValue, getConvertedValue, getConvertedValue, getSafeCastedValue, getSafeCastedValue, getValueClass, hasStringValue, hasStringValue, onSafeCastError
-
Constructor Details
-
AttributeContainerAnyConcurrent
public AttributeContainerAnyConcurrent() -
AttributeContainerAnyConcurrent
-
-
Method Details
-
getClone
- Specified by:
getClonein interfaceIAttributeContainer<KEYTYPE,Object> - Specified by:
getClonein interfaceIAttributeContainerAny<KEYTYPE>- Specified by:
getClonein interfaceICloneable<KEYTYPE>- Overrides:
getClonein classAttributeContainerConcurrent<KEYTYPE,Object> - Returns:
- A 100% deep-copy of the implementing class.
-