Class SetMultimap<K,​V>

    • Constructor Detail

      • SetMultimap

        protected SetMultimap​(SerializableSupplier<Set<V>> setSupplier)
        Instantiates a new Set multimap.
        Parameters:
        setSupplier - the set supplier
    • Method Detail

      • get

        public Set<V> get​(Object key)
        Description copied from interface: Multimap
        Gets the values mapped to by the given key. A new collection is created if the key does not exist in the multimap.
        Parameters:
        key - the key
        Returns:
        the collection of values.