Package org.reactfx.util
Class HashAccuMap<K,V,A>
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<K,A>
-
- org.reactfx.util.HashAccuMap<K,V,A>
-
-
Constructor Summary
Constructors Constructor Description HashAccuMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccuMap<K,V,A>addAll(java.util.Iterator<K> keys, V value, AccumulationFacility<V,A> af)AccuMap<K,V,A>dropPeeked()Tuple2<K,A>peek(AccumulationFacility<V,A> af)private KpickKey()AccuMap<K,V,A>updatePeeked(A newAccumulatedValue)-
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
-
-
-
Method Detail
-
dropPeeked
public AccuMap<K,V,A> dropPeeked()
- Specified by:
dropPeekedin interfaceAccuMap<K,V,A>
-
updatePeeked
public AccuMap<K,V,A> updatePeeked(A newAccumulatedValue)
- Specified by:
updatePeekedin interfaceAccuMap<K,V,A>
-
addAll
public AccuMap<K,V,A> addAll(java.util.Iterator<K> keys, V value, AccumulationFacility<V,A> af)
-
pickKey
private K pickKey()
-
-