package saker.util
saker.util.EntryAccumulator<K, V>
saker.util.ElementAccumulator<Entry<K, V>>
java.lang.Iterable<Entry<K, V>>
EntryAccumulatorArray<K, V> , PartitionedEntryAccumulatorArray<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.
public void | put( Adds an key-value entry pair to the accumulator. |
From: ElementAccumulator< |
Adds an key-value entry pair to the accumulator.
keyThe key.
valueThe value.