Class BidirectionalMultiMap<K,​V>


  • public class BidirectionalMultiMap<K,​V>
    extends Object
    Author:
    nik
    • Constructor Detail

      • BidirectionalMultiMap

        public BidirectionalMultiMap()
    • Method Detail

      • getValues

        @Nullable
        public Set<V> getValues​(K key)
      • getKeys

        @Nullable
        public Set<K> getKeys​(V value)
      • containsKey

        public boolean containsKey​(K key)
      • containsValue

        public boolean containsValue​(V value)
      • put

        public boolean put​(K key,
                           V value)
      • removeKey

        public boolean removeKey​(K key)
      • remove

        public void remove​(K key,
                           V value)
      • isEmpty

        public boolean isEmpty()
      • removeValue

        public boolean removeValue​(V value)
      • clear

        public void clear()
      • getKeys

        public Set<K> getKeys()
      • getValues

        public Set<V> getValues()