|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Key - the keys of the multimapValue - the values of the multimappublic interface Multimap<Key,Value>
Multimap from Keys to Collection of Values
| Method Summary | |
|---|---|
boolean |
add(Key key,
Value value)
Stores the key-value pair in this multimap |
void |
clear()
Removes all key-value pairs of this multimap |
boolean |
contains(Key key,
Value value)
Tests if the key-value pair occurs in this multimap |
Collection<Value> |
get(Key key)
Returns the collection of values associated with the given key in this multimap |
boolean |
isEmpty()
Checks if this multimap is empty |
Set<Key> |
keySet()
|
boolean |
remove(Object key,
Object value)
Removes the key-value pair from this multimap |
| Method Detail |
|---|
boolean contains(Key key,
Value value)
key - the key of the pairvalue - the value of the pair
boolean add(Key key,
Value value)
key - the key of the pairvalue - the value of the pair
Collection<Value> get(Key key)
key - the key for which to retrieve the values
boolean remove(Object key,
Object value)
key - the key of the pairvalue - the value of the pair
boolean isEmpty()
Set<Key> keySet()
void clear()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||