Interface MultiMap<K,V>

All Known Implementing Classes:
ArraySetMultiMap, HashSetMultiMap

public interface MultiMap<K,V>
  • Method Details

    • get

      Set<V> get(K key)
    • put

      boolean put(K key, V val)
    • remove

      boolean remove(K key, V val)
    • keySet

      Set<K> keySet()
    • containsKey

      boolean containsKey(K key)
    • size

      int size()
    • toString

      String toString()
      Overrides:
      toString in class Object
    • putAll

      boolean putAll(K key, Collection<? extends V> vals)
    • removeAll

      Set<V> removeAll(K key)
    • clear

      void clear()
    • isEmpty

      boolean isEmpty()