org.xins.common.collections
Class ChainedMap
java.lang.Object
java.util.AbstractMap
org.xins.common.collections.ChainedMap
- All Implemented Interfaces:
- Map
- public class ChainedMap
- extends AbstractMap
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.12 $ $Date: 2006/08/28 09:12:32 $
- Author:
- Anthony Goubard
Constructor Summary |
ChainedMap()
Creates a new instance of ChainedMap . |
Methods inherited from class java.util.AbstractMap |
clear, clone, containsKey, containsValue, equals, get, hashCode, isEmpty, keySet, putAll, remove, size, toString |
ChainedMap
public ChainedMap()
- Creates a new instance of
ChainedMap
.
entrySet
public Set entrySet()
values
public Collection values()
put
public Object put(Object key,
Object value)
See http://www.xins.org/.