public class HashMultimap<K,V>extends Objectimplements Multimap<K,V>, Serializable
Constructor and Description |
---|
HashMultimap() |
Modifier and Type | Method and Description |
---|---|
void | clear() Clears the multimap |
boolean | equals(Object o) |
Collection<V> | get(K key) Get all values associated with the key |
int | hashCode() |
boolean | isEmpty() Checks if multimap is empty |
Collection<K> | keys() Keys in the map |
void | merge(Multimap<K,V> other) |
void | put(K key, V value) Put the element pair. |
void | putAll(K key, Collection<V> vvs) Put multiple pairs. |
void | remove(K key) |
String | toString() |
Collection<V> | values() |
public void putAll(K key, Collection<V> vvs)
Multimap
public Collection<V> get(K key)
Multimap
public boolean isEmpty()
Multimap
public void clear()
Multimap
public Collection<K> keys()
Multimap
Copyright © 2012-2015 Oracle. All Rights Reserved.