saker.util Documentation TaskDoc JavaDoc Packages
package saker.util
public interface EntryAccumulator<K, Vextends ElementAccumulator<Entry<K, V>>
ElementAccumulator subinterface for allowing Map.Entry objects to be added to it.

Note that even though this class accumulates Map.Entry objects, adding entries with the same keys will not overwrite previous additions. That is, when the accumulator is iterated over, it can return multiple entries with the same keys.

KThe key type.
VThe value type.
Methods
public void
put(K key, V value)
Adds an key-value entry pair to the accumulator.
Inherited methods
From: Iterable<Entry<K, V>>
public abstract void put(K key, V value)
Adds an key-value entry pair to the accumulator.
keyThe key.
valueThe value.