public class MovingWindowBuffer
extends java.lang.Object
| Constructor and Description |
|---|
MovingWindowBuffer(int capacity)
Instantiates a new moving window buffer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAll(double... values)
Adds the all.
|
void |
clear()
Clear.
|
void |
resize(int newSize)
Resize.
|
double[] |
snapshot()
Snapshot.
|