Package org.drasyl.util
Interface SetMultimap<K,V>
-
- Type Parameters:
K
- the type of keys maintained by this mapV
- the type of mapped values
- All Superinterfaces:
Multimap<K,V>
- All Known Implementing Classes:
HashSetMultimap
public interface SetMultimap<K,V> extends Multimap<K,V>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<V>
get(Object key)
Returns the values that are associated to the specifiedkey
.
-
-
-
Method Detail
-
get
Set<V> get(Object key)
Description copied from interface:Multimap
Returns the values that are associated to the specifiedkey
. Returns a emptyCollection
if currently no values are assosicated to thekey
.- Specified by:
get
in interfaceMultimap<K,V>
- Parameters:
key
- the key whose associated values should be returned- Returns:
- the values that are associated to the specified
key
. Returns a emptyCollection
if currently no values are assosicated to thekey
.
-
-