Package randoop.util

Class KeyToMultiSet<K extends @Signed Object,​V extends @Signed Object>

  • Type Parameters:
    K - the type of the keys
    V - the types of the elements of the value mulit-sets

    public class KeyToMultiSet<K extends @Signed Object,​V extends @Signed Object>
    extends Object
    A map from a key to a multi-set.
    • Constructor Detail

      • KeyToMultiSet

        public KeyToMultiSet()
        Creates a new, empty KeyToMultiSet.
    • Method Detail

      • addAll

        public void addAll​(Map<? extends K,​? extends V> m)
      • addAll

        public void addAll​(K key,
                           Collection<? extends V> values)
      • add

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

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

        public void remove​(K key)
      • getVariables

        public Set<V> getVariables​(K key)
      • keySet

        public Set<K> keySet()
      • contains

        public boolean contains​(K obj)
      • clean

        public void clean()
      • removeAllInstances

        public void removeAllInstances​(Set<V> values)
      • clear

        public void clear()
      • size

        public int size()
      • isEmpty

        public boolean isEmpty()