com.arsdigita.util
Class OrderedMap
java.lang.Object
java.util.AbstractMap
java.util.TreeMap
com.arsdigita.util.OrderedMap
- All Implemented Interfaces:
- Cloneable, Map, Serializable, SortedMap
Deprecated. use SequentialMap
instead
- public class OrderedMap
- extends TreeMap
An implementation of Map which preserves the order in which you put
entries into it.
- Author:
- Justin Ross <jross@redhat.com>
- See Also:
- Serialized Form
Method Summary |
void |
clear()
Deprecated. |
Object |
clone()
Deprecated. |
Object |
put(Object key,
Object value)
Deprecated. Calls to put define the order in which the OrderedMap returns
its contents in calls to entrySet().iterator(); |
Methods inherited from class java.util.TreeMap |
comparator, containsKey, containsValue, entrySet, firstKey, get, headMap, keySet, lastKey, putAll, remove, size, subMap, tailMap, values |
versionId
public static final String versionId
- Deprecated.
- See Also:
- Constant Field Values
OrderedMap
public OrderedMap()
- Deprecated.
put
public Object put(Object key,
Object value)
- Deprecated.
- Calls to put define the order in which the OrderedMap returns
its contents in calls to entrySet().iterator();
clone
public Object clone()
- Deprecated.
clear
public void clear()
- Deprecated.
Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 20 2004:2337 UTC