Class ListMultimap<K,​V>

    • Constructor Detail

      • ListMultimap

        protected ListMultimap​(SerializableSupplier<List<V>> listSupplier)
        Instantiates a new List multimap.
        Parameters:
        listSupplier - the list supplier
    • Method Detail

      • get

        public List<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.