| java.lang.Object com.vividsolutions.jump.util.CollectionMap
CollectionMap | public class CollectionMap implements Map(Code) | | A Map whose values are Collections.
|
CollectionMap | public CollectionMap(Class mapClass)(Code) | | Creates a CollectionMap backed by the given Map class.
Parameters: mapClass - a Class that implements Map |
CollectionMap | public CollectionMap()(Code) | | Creates a CollectionMap.
|
addItem | public void addItem(Object key, Object item)(Code) | | Adds the item to the Collection at the given key, creating a new Collection if
necessary.
Parameters: key - the key to the Collection to which the item should be added Parameters: item - the item to add |
addItems | public void addItems(Object key, Collection items)(Code) | | Adds the items to the Collection at the given key, creating a new Collection if
necessary.
Parameters: key - the key to the Collection to which the items should be added Parameters: items - the items to add |
clear | public void clear()(Code) | | |
containsValue | public boolean containsValue(Object value)(Code) | | |
isEmpty | public boolean isEmpty()(Code) | | |
keySet | public Set keySet()(Code) | | Returns the keys.
a view of the keys, backed by this CollectionMap |
size | public int size()(Code) | | Returns the number of mappings.
the number of key-value pairs |
values | public Collection values()(Code) | | Returns the values.
a view of the values, backed by this CollectionMap |
|
|