IBM Branch Transformation Toolkit Javadoc

com.ibm.btt.base
Class Hashtable

java.lang.Object
  extended byjava.util.Dictionary
      extended byjava.util.Hashtable
          extended bycom.ibm.btt.base.Hashtable
All Implemented Interfaces:
java.lang.Cloneable, DSECloneable, java.util.Map, java.io.Serializable
Direct Known Subclasses:
ErrorInfo, SessionEntry

public class Hashtable
extends java.util.Hashtable
implements DSECloneable

This class extends Hashtable by providing additional behaviour such as getting the key by value, getting the object by a non-case sensitive key, removing all the elements in the Hashtable, and providing a visual representation of the object.

See Also:
Serialized Form

Constructor Summary
Hashtable()
          This constructor creates a Hashtable object.
Hashtable(int initialCapacity)
          This constructor creates a Hashtable object with a specified initialCapacity.
Hashtable(int initialCapacity, float loadFactor)
          /** This constructor creates a Hashtable object with a specified initialCapacity and loadFactor.
 
Method Summary
 java.lang.Object clone()
          Returns a new Hashtable cloned from the current one.
static Hashtable clone(java.util.Hashtable hash)
          Returns a new Hashtable cloned from the current one.
static java.util.Hashtable clone(Hashtable hash)
          Returns a new Hashtable cloned from the current one.
 java.lang.Object keyAtValue(java.lang.Object aValue)
          Gets the key at the given value.
 void removeAll()
          Removes all elements from the Hashtable.
 java.lang.String toString()
          Returns a visual representation of the instance.
 
Methods inherited from class java.util.Hashtable
clear, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Hashtable

public Hashtable()
This constructor creates a Hashtable object.


Hashtable

public Hashtable(int initialCapacity)
This constructor creates a Hashtable object with a specified initialCapacity.

Parameters:
initialCapacity - int

Hashtable

public Hashtable(int initialCapacity,
                 float loadFactor)
/** This constructor creates a Hashtable object with a specified initialCapacity and loadFactor.

Parameters:
initialCapacity - int
loadFactor - float
Method Detail

clone

public static Hashtable clone(java.util.Hashtable hash)
Returns a new Hashtable cloned from the current one.

Returns:
java.lang.Object

clone

public static java.util.Hashtable clone(Hashtable hash)
Returns a new Hashtable cloned from the current one.

Returns:
java.lang.Object

clone

public java.lang.Object clone()
Returns a new Hashtable cloned from the current one.

Specified by:
clone in interface DSECloneable
Returns:
java.lang.Object

keyAtValue

public java.lang.Object keyAtValue(java.lang.Object aValue)
Gets the key at the given value.

Parameters:
aValue - java.lang.Object
Returns:
java.lang.Object

removeAll

public void removeAll()
Removes all elements from the Hashtable.


toString

public java.lang.String toString()
Returns a visual representation of the instance.

Returns:
java.lang.String

IBM Branch Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2005