Interface Multimap<K,V>

All Known Subinterfaces:
ListMultimap<K,V>, ListMultimap.Mutable<K,V>, Multimap.Mutable<K,V>
All Known Implementing Classes:
ArrayListMultimap, ClassInheritanceMultimap

public interface Multimap<K,V>
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    get(K key)
    Gets the collection of paired values for the provided key.
    boolean
     
    int
     
  • Method Details

    • isEmpty

      boolean isEmpty()
    • size

      int size()
    • get

      Collection<V> get(K key)
      Gets the collection of paired values for the provided key. It is expected that regardless whether a key has any valus matched, the returned collection is never null but possibly empty.
      Parameters:
      key - The key
      Returns:
      The collection of values