Package org.geotools.graph.util
Class MultiMap
- Object
-
- MultiMap
-
- All Implemented Interfaces:
Serializable
,Map
public class MultiMap extends Object implements Map, Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MultiMap(Map map, Class collectionClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
boolean
containsKey(Object key)
boolean
containsValue(Object value)
Set
entrySet()
Object
get(Object key)
Collection
getItems(Object key)
boolean
isEmpty()
Set
keySet()
Object
put(Object key, Object value)
void
putAll(Map t)
void
putItems(Object key, Collection items)
Object
remove(Object key)
int
size()
Collection
values()
-
-
-
Method Detail
-
put
public Object put(Object key, Object value)
- Specified by:
put
in interfaceMap
-
putItems
public void putItems(Object key, Collection items)
-
size
public int size()
- Specified by:
size
in interfaceMap
-
clear
public void clear()
- Specified by:
clear
in interfaceMap
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interfaceMap
-
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKey
in interfaceMap
-
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValue
in interfaceMap
-
values
public Collection values()
- Specified by:
values
in interfaceMap
-
putAll
public void putAll(Map t)
- Specified by:
putAll
in interfaceMap
-
entrySet
public Set entrySet()
- Specified by:
entrySet
in interfaceMap
-
keySet
public Set keySet()
- Specified by:
keySet
in interfaceMap
-
get
public Object get(Object key)
- Specified by:
get
in interfaceMap
-
getItems
public Collection getItems(Object key)
-
remove
public Object remove(Object key)
- Specified by:
remove
in interfaceMap
-
-