public class SimpleAggregator<T extends Comparable<?>> extends Object implements AutoStopAggregator<T>
| Constructor and Description |
|---|
SimpleAggregator(BiFunction<T,Long,T> reducer) |
public SimpleAggregator(BiFunction<T,Long,T> reducer)
public void add(long value)
add in interface AutoStopAggregator<T extends Comparable<?>>public T getValue()
getValue in interface AutoStopAggregator<T extends Comparable<?>>Copyright © 2024. All rights reserved.