fr.imag.adele.collection
Class MultivalueMap

java.lang.Object
  extended byfr.imag.adele.collection.MultivalueMap
All Implemented Interfaces:
Map

public class MultivalueMap
extends Object
implements Map


Nested Class Summary
 
Nested classes inherited from class java.util.Map
Map.Entry
 
Constructor Summary
MultivalueMap()
           
MultivalueMap(Map map)
           
 
Method Summary
 void clear()
           
 boolean containsKey(Object arg0)
           
 boolean containsValue(Object arg0)
           
 Set entrySet()
           
 Object get(Object key)
           
 boolean isEmpty()
           
 Set keySet()
           
 Object put(Object key, Object value)
           
 void putAll(Map arg0)
           
 Object remove(Object arg0)
           
 int size()
           
 String toString()
           
 Collection values()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

MultivalueMap

public MultivalueMap()

MultivalueMap

public MultivalueMap(Map map)
Method Detail

size

public int size()
Specified by:
size in interface Map
See Also:
Map.size()

clear

public void clear()
Specified by:
clear in interface Map
See Also:
Map.clear()

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Map
See Also:
Map.isEmpty()

containsKey

public boolean containsKey(Object arg0)
Specified by:
containsKey in interface Map
See Also:
Map.containsKey(java.lang.Object)

containsValue

public boolean containsValue(Object arg0)
Specified by:
containsValue in interface Map
See Also:
Map.containsValue(java.lang.Object)

values

public Collection values()
Specified by:
values in interface Map
See Also:
Map.values()

putAll

public void putAll(Map arg0)
Specified by:
putAll in interface Map
See Also:
Map.putAll(java.util.Map)

entrySet

public Set entrySet()
Specified by:
entrySet in interface Map
See Also:
Map.entrySet()

keySet

public Set keySet()
Specified by:
keySet in interface Map
See Also:
Map.keySet()

get

public Object get(Object key)
Specified by:
get in interface Map
See Also:
Map.get(java.lang.Object)

remove

public Object remove(Object arg0)
Specified by:
remove in interface Map
See Also:
Map.remove(java.lang.Object)

put

public Object put(Object key,
                  Object value)
Specified by:
put in interface Map
See Also:
Map.put(java.lang.Object, java.lang.Object)

toString

public String toString()