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 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.