org.exolab.castor.util
public class OrderedHashMap extends HashMap
Version: $Revision: 6230 $ $Date: 2005-12-13 14:58:48 -0700 (Tue, 13 Dec 2005) $
Constructor Summary | |
---|---|
OrderedHashMap()
Creates a new OrderedHashMap | |
OrderedHashMap(int initialCapacity)
Creates a new OrderedHashMap with the given initial capacity
| |
OrderedHashMap(Map m)
Creates a new OrderedHashMap with the same entries
as the given map.
|
Method Summary | |
---|---|
void | clear() |
Object | clone() |
Set | entrySet()
Returns the Map.Entry set for this Map. |
Set | keySet()
Returns the key set for this Map. |
Object | put(Object key, Object value) |
void | putAll(Map m) |
Object | remove(Object key) |
Collection | values()
Returns the set of values for this Map. |
Parameters: initialCapacity
Parameters: m the Map to initialize this Map with
See Also: java.util.Map#clear()
See Also: java.lang.Object#clone()
See Also: java.util.Map#entrySet()
See Also: java.util.Map#keySet()
See Also: java.util.Map#put(java.lang.Object, java.lang.Object)
See Also: java.util.Map#putAll(java.util.Map)
See Also: java.util.Map#remove(java.lang.Object)
See Also: java.util.Map#values()