Class AbstractSetMultimap<K,V>

java.lang.Object
org.aksw.commons.collections.reversible.AbstractSetMultimap<K,V>
All Implemented Interfaces:
com.google.common.collect.Multimap<K,V>, com.google.common.collect.SetMultimap<K,V>
Direct Known Subclasses:
ReversibleSetMultimapImpl

public abstract class AbstractSetMultimap<K,V> extends Object implements com.google.common.collect.SetMultimap<K,V>
  • Constructor Details

    • AbstractSetMultimap

      public AbstractSetMultimap()
  • Method Details

    • size

      public int size()
      Specified by:
      size in interface com.google.common.collect.Multimap<K,V>
    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface com.google.common.collect.Multimap<K,V>
    • containsKey

      public boolean containsKey(Object key)
      Specified by:
      containsKey in interface com.google.common.collect.Multimap<K,V>
    • containsValue

      public boolean containsValue(Object value)
      Specified by:
      containsValue in interface com.google.common.collect.Multimap<K,V>
    • containsEntry

      public boolean containsEntry(Object key, Object value)
      Specified by:
      containsEntry in interface com.google.common.collect.Multimap<K,V>
    • put

      public boolean put(K key, V value)
      Specified by:
      put in interface com.google.common.collect.Multimap<K,V>
    • remove

      public boolean remove(Object key, Object value)
      Specified by:
      remove in interface com.google.common.collect.Multimap<K,V>
    • putAll

      public boolean putAll(K key, Iterable<? extends V> values)
      Specified by:
      putAll in interface com.google.common.collect.Multimap<K,V>
    • putAll

      public boolean putAll(com.google.common.collect.Multimap<? extends K, ? extends V> multimap)
      Specified by:
      putAll in interface com.google.common.collect.Multimap<K,V>
    • replaceValues

      public Set<V> replaceValues(K key, Iterable<? extends V> values)
      Specified by:
      replaceValues in interface com.google.common.collect.Multimap<K,V>
      Specified by:
      replaceValues in interface com.google.common.collect.SetMultimap<K,V>
    • removeAll

      public Set<V> removeAll(Object key)
      Specified by:
      removeAll in interface com.google.common.collect.Multimap<K,V>
      Specified by:
      removeAll in interface com.google.common.collect.SetMultimap<K,V>
    • clear

      public void clear()
      Specified by:
      clear in interface com.google.common.collect.Multimap<K,V>
    • get

      public Set<V> get(K key)
      Specified by:
      get in interface com.google.common.collect.Multimap<K,V>
      Specified by:
      get in interface com.google.common.collect.SetMultimap<K,V>
    • keySet

      public Set<K> keySet()
      Specified by:
      keySet in interface com.google.common.collect.Multimap<K,V>
    • keys

      public com.google.common.collect.Multiset<K> keys()
      Specified by:
      keys in interface com.google.common.collect.Multimap<K,V>
    • values

      public Collection<V> values()
      Specified by:
      values in interface com.google.common.collect.Multimap<K,V>
    • asMap

      public Map<K, Collection<V>> asMap()
      Specified by:
      asMap in interface com.google.common.collect.Multimap<K,V>
      Specified by:
      asMap in interface com.google.common.collect.SetMultimap<K,V>