Class MultiMap<K,​V>


  • public class MultiMap<K,​V>
    extends Object
    Author:
    Dmitry Avdeev
    • Constructor Detail

      • MultiMap

        public MultiMap()
    • Method Detail

      • createMap

        protected Map<K,​List<V>> createMap()
      • createCollection

        protected List<V> createCollection()
      • putValue

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

        public boolean isEmpty()
      • containsScalarValue

        public boolean containsScalarValue​(V value)
      • get

        public List<V> get​(K key)
      • removeValue

        public void removeValue​(V value)
      • keySet

        public Set<K> keySet()
      • size

        public int size()
      • put

        public void put​(K key,
                        List<V> values)
      • remove

        public void remove​(K key)
      • remove

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

        public boolean containsKey​(K elementPath)
      • clear

        public void clear()