org.xins.common.collections
Class ChainedMap
java.lang.Object
java.util.AbstractMap
org.xins.common.collections.ChainedMap
- All Implemented Interfaces:
- Cloneable, Map, Serializable
- public class ChainedMap
- extends AbstractMap
- implements Cloneable, Serializable
This class provides a Map that stores the key/value pairs in the order
that they were added to the Map.
If an entry already exists, the key/pair entry will be put at the same
position as the old one.
- Since:
- XINS 1.3.0
- Version:
- $Revision: 1.20 $ $Date: 2009/04/18 13:04:29 $
- Author:
- Anthony Goubard
- See Also:
- Serialized Form
Constructor Summary |
ChainedMap()
Creates a new instance of ChainedMap . |
Methods inherited from class java.util.AbstractMap |
clear, containsKey, containsValue, equals, get, hashCode, isEmpty, keySet, putAll, remove, size, toString |
ChainedMap
public ChainedMap()
- Creates a new instance of
ChainedMap
.
entrySet
public Set entrySet()
- Specified by:
entrySet
in interface Map
values
public Collection values()
- Specified by:
values
in interface Map
put
public Object put(Object key,
Object value)
- Specified by:
put
in interface Map
clone
public Object clone()
See http://www.xins.org/.