public class SlidingWindowMinAccumulator extends AbstractSlidingWindowAccumulator<Double>
Constructor and Description |
---|
SlidingWindowMinAccumulator(int windowSize)
Creates a new minimum accumulator with the sliding window of a given size.
|
Modifier and Type | Method and Description |
---|---|
Double |
getResult()
Gets the accumulated result of currently added values.
|
add, reset
public SlidingWindowMinAccumulator(int windowSize)
windowSize
- Size of the sliding window.public Double getResult()
Accumulator
Copyright © 2010–2017 PerfCake Community. All rights reserved.