Interface SetMultimap<K,V>

Type Parameters:
K - the type of keys maintained by this map
V - the type of mapped values
All Superinterfaces:
Multimap<K,V>
All Known Implementing Classes:
HashSetMultimap

public interface SetMultimap<K,V> extends Multimap<K,V>
A Multimap in which the values associated with a key are treated as a Set.
  • Method Summary

    Modifier and Type
    Method
    Description
    get(Object key)
    Returns the values that are associated to the specified key.

    Methods inherited from interface org.drasyl.util.Multimap

    keySet, put, remove
  • Method Details

    • get

      Set<V> get(Object key)
      Description copied from interface: Multimap
      Returns the values that are associated to the specified key. Returns a empty Collection if currently no values are assosicated to the key.
      Specified by:
      get in interface Multimap<K,V>
      Parameters:
      key - the key whose associated values should be returned
      Returns:
      the values that are associated to the specified key. Returns a empty Collection if currently no values are assosicated to the key.