org.xins.common.collections
Class ChainedMap

java.lang.Object
  extended byjava.util.AbstractMap
      extended byorg.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

Nested Class Summary
 
Nested classes inherited from class java.util.Map
Map.Entry
 
Constructor Summary
ChainedMap()
          Creates a new instance of ChainedMap.
 
Method Summary
 Set entrySet()
           
 Object put(Object key, Object value)
           
 Collection values()
           
 
Methods inherited from class java.util.AbstractMap
clear, clone, containsKey, containsValue, equals, get, hashCode, isEmpty, keySet, putAll, remove, size, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChainedMap

public ChainedMap()
Creates a new instance of ChainedMap.

Method Detail

entrySet

public Set entrySet()

values

public Collection values()

put

public Object put(Object key,
                  Object value)


See http://www.xins.org/.