com.ibm.ulc.util
Class UlcHashtable

java.lang.Object
  |
  +--java.util.Dictionary
        |
        +--java.util.Hashtable
              |
              +--com.ibm.ulc.util.UlcHashtable

public class UlcHashtable
extends java.util.Hashtable
implements ITableRow

Subclass of Hashtable to handle null values

See Also:
Serialized Form

Field Summary
static java.lang.String NULL
           
 
Constructor Summary
UlcHashtable()
          UlcHashtable constructor comment.
UlcHashtable(int arg1)
          UlcHashtable constructor comment.
UlcHashtable(int arg1, float arg2)
          UlcHashtable constructor comment.
 
Method Summary
 boolean contains(java.lang.Object searchValue)
           
 java.util.Enumeration elements()
          Returns an enumeration of the values in this hashtable.
 java.lang.Object get(java.lang.Object key)
           
 java.lang.Object get(java.lang.Object key, java.lang.Object defaultAnswer)
           
 java.lang.Object getValueAt(java.lang.String attributeName)
          Return the object identified by the key attributeName or null if not found
 java.util.Enumeration keys()
          Returns an enumeration of the keys in this hashtable.
 java.lang.Object put(java.lang.Object key, java.lang.Object value)
           
 void setValueAt(java.lang.Object value, java.lang.String attributeName)
          Set the object identified by the key attributeName to the specified value.
 java.util.Enumeration superElements()
           
 java.util.Enumeration superKeys()
           
 
Methods inherited from class java.util.Hashtable
clear, clone, containsKey, containsValue, entrySet, equals, hashCode, isEmpty, keySet, putAll, rehash, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NULL

public static final java.lang.String NULL
Constructor Detail

UlcHashtable

public UlcHashtable()
UlcHashtable constructor comment.

UlcHashtable

public UlcHashtable(int arg1)
UlcHashtable constructor comment.
Parameters:
arg1 - int

UlcHashtable

public UlcHashtable(int arg1,
                    float arg2)
UlcHashtable constructor comment.
Parameters:
arg1 - int
arg2 - float
Method Detail

contains

public boolean contains(java.lang.Object searchValue)
Overrides:
contains in class java.util.Hashtable

elements

public java.util.Enumeration elements()
Returns an enumeration of the values in this hashtable. Use the Enumeration methods on the returned object to fetch the elements sequentially.
Overrides:
elements in class java.util.Hashtable
Returns:
an enumeration of the values in this hashtable.
See Also:
Enumeration, Hashtable.keys()

get

public java.lang.Object get(java.lang.Object key)
Overrides:
get in class java.util.Hashtable

get

public java.lang.Object get(java.lang.Object key,
                            java.lang.Object defaultAnswer)

getValueAt

public java.lang.Object getValueAt(java.lang.String attributeName)
Description copied from interface: ITableRow
Return the object identified by the key attributeName or null if not found
Specified by:
getValueAt in interface ITableRow
Tags copied from interface: ITableRow
Parameters:
attributeName - java.lang.String
Returns:
java.lang.Object

keys

public java.util.Enumeration keys()
Returns an enumeration of the keys in this hashtable.
Overrides:
keys in class java.util.Hashtable
Returns:
an enumeration of the keys in this hashtable.
See Also:
Enumeration, Hashtable.elements()

put

public java.lang.Object put(java.lang.Object key,
                            java.lang.Object value)
Overrides:
put in class java.util.Hashtable

setValueAt

public void setValueAt(java.lang.Object value,
                       java.lang.String attributeName)
Description copied from interface: ITableRow
Set the object identified by the key attributeName to the specified value.
Specified by:
setValueAt in interface ITableRow
Tags copied from interface: ITableRow
Parameters:
attributeName - java.lang.String
value - java.lang.Object

superElements

public java.util.Enumeration superElements()

superKeys

public java.util.Enumeration superKeys()