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.

    ThreadPropertyMap inherits from HashMap, so the put and putAll methods can be applied to a ThreadPropertyMap object. Their use is strongly discouraged as they allow the caller to insert entries whose keys or values are not Strings. Use ThreadPropertyMap with ThreadProperties APIs.

    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.util.AbstractMap

        java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>
    • 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).
    • Method Summary

      • Methods inherited from class java.util.HashMap

        clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
      • Methods inherited from class java.util.AbstractMap

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Map

        equals, hashCode
    • 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).
© Copyright 2005, 2013 IBM Corporation.