com.bankframe.util.collections
Class OrderedHashtable

java.lang.Object
  |
  +--java.util.Dictionary
        |
        +--java.util.Hashtable
              |
              +--com.bankframe.util.collections.OrderedHashtable
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map, java.io.Serializable

public class OrderedHashtable
extends java.util.Hashtable

See Also:
Serialized Form

Constructor Summary
OrderedHashtable()
           
OrderedHashtable(int initialSize)
           
 
Method Summary
 void clear()
           
 java.util.Enumeration elements()
          This method guarantees that the values will be returned in the exact order in which they were added.
 java.lang.Object put(java.lang.Object key, java.lang.Object value)
           
 java.lang.Object remove(java.lang.Object key)
           
 
Methods inherited from class java.util.Hashtable
clone, contains, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keys, keySet, putAll, size, toString, values
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OrderedHashtable

public OrderedHashtable()

OrderedHashtable

public OrderedHashtable(int initialSize)
Method Detail

put

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

remove

public java.lang.Object remove(java.lang.Object key)
Specified by:
remove in interface java.util.Map
Overrides:
remove in class java.util.Hashtable

elements

public java.util.Enumeration elements()
This method guarantees that the values will be returned in the exact order in which they were added.

Overrides:
elements in class java.util.Hashtable

clear

public void clear()
Specified by:
clear in interface java.util.Map
Overrides:
clear in class java.util.Hashtable


Copyright © 2005 Siebel Systems, Inc. All rights reserved.