Class MultiMapKeyToSet<S,T>


  • public class MultiMapKeyToSet<S,T>
    extends Object
    A multimap from key to a set of values.
    • Constructor Detail

      • MultiMapKeyToSet

        public MultiMapKeyToSet()
        A multimap from key to a set of values.
    • Method Detail

      • put

        public void put​(S key,
                        T value)
        Put a value into the multimap.
      • get

        public Set<T> get​(S key)
        Get a value from the multimap.
      • entrySet

        public Set<Map.Entry<S,Set<T>>> entrySet()
        Get the entry set from the underlying map.
      • getRawMap

        public Map<S,Set<T>> getRawMap()
        Get the underlying map.
      • isEmpty

        public boolean isEmpty()
        Return true if this map is empty.