Class AttributeContainerAny<KEYTYPE>
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<K,V>
-
- java.util.LinkedHashMap<KEYTYPE,VALUETYPE>
-
- com.helger.commons.collection.impl.CommonsLinkedHashMap<KEYTYPE,VALUETYPE>
-
- com.helger.commons.collection.attr.AttributeContainer<KEYTYPE,Object>
-
- com.helger.commons.collection.attr.AttributeContainerAny<KEYTYPE>
-
- Type Parameters:
KEYTYPE- Key type
- All Implemented Interfaces:
IAttributeContainer<KEYTYPE,Object>,IAttributeContainerAny<KEYTYPE>,ICommonsMap<KEYTYPE,Object>,ICommonsOrderedMap<KEYTYPE,Object>,ICloneable<ICommonsMap<KEYTYPE,Object>>,IGetterByKeyTrait<KEYTYPE>,Serializable,Cloneable,Map<KEYTYPE,Object>
@NotThreadSafe public class AttributeContainerAny<KEYTYPE> extends AttributeContainer<KEYTYPE,Object> implements IAttributeContainerAny<KEYTYPE>
Base class for all kind of string-object mapping container. This implementation is not thread-safe!- Author:
- Philip Helger
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
Nested classes/interfaces inherited from interface com.helger.commons.collection.attr.IAttributeContainer
IAttributeContainer.IAfterSetValueCallback<KEYTYPE,VALUETYPE>, IAttributeContainer.IBeforeSetValueCallback<KEYTYPE,VALUETYPE>
-
-
Constructor Summary
Constructors Constructor Description AttributeContainerAny()AttributeContainerAny(Map<? extends KEYTYPE,? extends Object> aMap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttributeContainerAny<KEYTYPE>getClone()-
Methods inherited from class com.helger.commons.collection.attr.AttributeContainer
afterSetValueCallbacks, beforeSetValueCallbacks, equals, hashCode, toString
-
Methods inherited from class com.helger.commons.collection.impl.CommonsLinkedHashMap
createInstance
-
Methods inherited from class java.util.LinkedHashMap
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values
-
Methods inherited from class java.util.HashMap
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.helger.commons.collection.attr.IAttributeContainer
afterSetValueCallbacks, beforeSetValueCallbacks, getAsBoolean, getAsDouble, getAsFloat, getAsInt, getAsLong, getValue, putAllIn, putIn
-
Methods inherited from interface com.helger.commons.collection.attr.IAttributeContainerAny
getAndSetFlag, putIn, putIn, putIn, putIn, putIn, putIn
-
Methods inherited from interface com.helger.commons.collection.impl.ICommonsMap
addAll, containsAnyEntry, containsAnyKey, containsAnyValue, copyOfValues, copyOfValues, copyOfValuesMapped, copyOfValuesMapped, 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, setAll
-
Methods inherited from interface com.helger.commons.collection.impl.ICommonsOrderedMap
copyOfEntrySet, copyOfKeySet, copyOfKeySet, getLastKey, getLastKey, getLastValue, getLastValue
-
Methods 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
-
Methods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
-
-
-
Method Detail
-
getClone
@Nonnull @ReturnsMutableCopy public AttributeContainerAny<KEYTYPE> getClone()
- Specified by:
getClonein interfaceIAttributeContainer<KEYTYPE,Object>- Specified by:
getClonein interfaceIAttributeContainerAny<KEYTYPE>- Specified by:
getClonein interfaceICloneable<KEYTYPE>- Specified by:
getClonein interfaceICommonsOrderedMap<KEYTYPE,Object>- Overrides:
getClonein classAttributeContainer<KEYTYPE,Object>- Returns:
- A 100% deep-copy of the implementing class.
-
-