com.ibm.db.base
Class OrderedHashtable

java.lang.Object
  |
  +--java.util.Dictionary
        |
        +--com.ibm.db.base.OrderedHashtable

public class OrderedHashtable
extends java.util.Dictionary
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
private static java.lang.String copyright
           
private  java.util.Hashtable hashtable
           
private  java.util.Vector sequenceableKeys
           
private  java.util.Vector sequenceableValues
           
(package private) static long serialVersionUID
           
 
Constructor Summary
OrderedHashtable()
          This method was created by a SmartGuide.
OrderedHashtable(int initialCapacity)
          This method was created by a SmartGuide.
 
Method Summary
 boolean contains(java.lang.Object value)
          This method was created by a SmartGuide.
 boolean containsKey(java.lang.Object key)
          This method was created by a SmartGuide.
private  void decrementIndexesBetween(int start, int stop)
          This method was created by a SmartGuide.
 java.util.Enumeration elements()
          This method was created by a SmartGuide.
 java.lang.Object get(java.lang.Object key)
          This method was created by a SmartGuide.
 java.lang.Object getAtIndex(int index)
          This method was created by a SmartGuide.
private  void incrementIndexesBetween(int start, int stop)
          This method was created by a SmartGuide.
 int indexOfKey(java.lang.Object key)
          This method was created by a SmartGuide.
 boolean isEmpty()
          This method was created by a SmartGuide.
 java.util.Enumeration keys()
          This method was created by a SmartGuide.
private  java.lang.Integer newIndex()
          This method was created by a SmartGuide.
 java.lang.Object put(java.lang.Object key, java.lang.Object value)
          This method was created by a SmartGuide.
 java.lang.Object remove(java.lang.Object key)
          This method was created by a SmartGuide.
 java.lang.Object removeElementAt(int index)
          This method was created by a SmartGuide.
 int size()
          This method was created by a SmartGuide.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

sequenceableKeys

private java.util.Vector sequenceableKeys

sequenceableValues

private java.util.Vector sequenceableValues

hashtable

private java.util.Hashtable hashtable

serialVersionUID

static final long serialVersionUID

copyright

private static final java.lang.String copyright
Constructor Detail

OrderedHashtable

public OrderedHashtable()
This method was created by a SmartGuide.

OrderedHashtable

public OrderedHashtable(int initialCapacity)
This method was created by a SmartGuide.
Method Detail

contains

public boolean contains(java.lang.Object value)
This method was created by a SmartGuide.
Parameters:
key - java.lang.Object
Returns:
java.lang.Object

containsKey

public boolean containsKey(java.lang.Object key)
This method was created by a SmartGuide.
Parameters:
key - java.lang.Object
Returns:
java.lang.Object

decrementIndexesBetween

private void decrementIndexesBetween(int start,
                                     int stop)
This method was created by a SmartGuide.
Parameters:
key - java.lang.Object
Returns:
java.lang.Object

elements

public java.util.Enumeration elements()
This method was created by a SmartGuide.
Overrides:
elements in class java.util.Dictionary
Parameters:
key - java.lang.Object
Returns:
java.lang.Object

get

public java.lang.Object get(java.lang.Object key)
This method was created by a SmartGuide.
Overrides:
get in class java.util.Dictionary
Parameters:
key - java.lang.Object
Returns:
java.lang.Object

getAtIndex

public java.lang.Object getAtIndex(int index)
This method was created by a SmartGuide.
Parameters:
key - java.lang.Object
Returns:
java.lang.Object

incrementIndexesBetween

private void incrementIndexesBetween(int start,
                                     int stop)
This method was created by a SmartGuide.
Parameters:
key - java.lang.Object
Returns:
java.lang.Object

indexOfKey

public int indexOfKey(java.lang.Object key)
This method was created by a SmartGuide.
Parameters:
key - java.lang.Object
Returns:
java.lang.Object

isEmpty

public boolean isEmpty()
This method was created by a SmartGuide.
Overrides:
isEmpty in class java.util.Dictionary
Parameters:
key - java.lang.Object
Returns:
java.lang.Object

keys

public java.util.Enumeration keys()
This method was created by a SmartGuide.
Overrides:
keys in class java.util.Dictionary
Parameters:
key - java.lang.Object
Returns:
java.lang.Object

newIndex

private java.lang.Integer newIndex()
This method was created by a SmartGuide.
Parameters:
key - java.lang.Object
Returns:
java.lang.Object

put

public java.lang.Object put(java.lang.Object key,
                            java.lang.Object value)
This method was created by a SmartGuide.
Overrides:
put in class java.util.Dictionary
Parameters:
key - java.lang.Object
Returns:
java.lang.Object

remove

public java.lang.Object remove(java.lang.Object key)
This method was created by a SmartGuide.
Overrides:
remove in class java.util.Dictionary
Parameters:
key - java.lang.Object
Returns:
java.lang.Object

removeElementAt

public java.lang.Object removeElementAt(int index)
This method was created by a SmartGuide.
Parameters:
key - java.lang.Object
Returns:
java.lang.Object

size

public int size()
This method was created by a SmartGuide.
Overrides:
size in class java.util.Dictionary
Parameters:
key - java.lang.Object
Returns:
java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
Returns:
a string representation of this ordered hashtable.