public class SpaceSaving<T> extends java.util.HashMap<T,java.lang.Integer> implements SpaceSavingInterface<T>
| Constructor and Description |
|---|
SpaceSaving(SharedWindow window) |
| Modifier and Type | Method and Description |
|---|---|
void |
addObservation(T newValue) |
int |
cleanup() |
org.processmining.framework.util.Pair<T,java.lang.Integer> |
getMin() |
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuespublic SpaceSaving(SharedWindow window)
public org.processmining.framework.util.Pair<T,java.lang.Integer> getMin()
getMin in interface SpaceSavingInterface<T>public void addObservation(T newValue)
addObservation in interface SpaceSavingInterface<T>public int cleanup()
cleanup in interface SpaceSavingInterface<T>