com.ibm.lang
Class ThreadPropertyMap
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<java.lang.String,java.lang.String>
-
- com.ibm.lang.ThreadPropertyMap
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.String,java.lang.String>
public final class ThreadPropertyMap extends java.util.HashMap<java.lang.String,java.lang.String>ThreadPropertyMap class is an alias to HashMap which can contain keys and values of String type.ThreadPropertyMapinherits fromHashMap, so theputandputAllmethods can be applied to aThreadPropertyMapobject. Their use is strongly discouraged as they allow the caller to insert entries whose keys or values are notStrings. UseThreadPropertyMapwithThreadPropertiesAPIs.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description ThreadPropertyMap()Creates an empty ThreadPropertyMap with the default initial capacity (16) and the default load factor (0.75).ThreadPropertyMap(int initialCapacity)Creates an empty ThreadPropertyMap with the specified initial capacity and the default load factor (0.75).
-
-
-
Constructor Detail
-
ThreadPropertyMap
public ThreadPropertyMap()
Creates an empty ThreadPropertyMap with the default initial capacity (16) and the default load factor (0.75).
-
ThreadPropertyMap
public ThreadPropertyMap(int initialCapacity)
Creates an empty ThreadPropertyMap with the specified initial capacity and the default load factor (0.75).
-
-