|
ESP OpenBCI - An EEG Signal Processing Library for OpenBCI Hardware | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.github.mrstampy.esp.multiconnectionsocket.MovingWindowBuffer
public class MovingWindowBuffer
The Class MovingWindowBuffer.
| Constructor Summary | |
|---|---|
MovingWindowBuffer(int capacity)
Instantiates a new moving window buffer. |
|
| Method Summary | |
|---|---|
void |
addAll(double... values)
Adds the all. |
void |
clear()
Clear. |
void |
resize(int newSize)
Resize. |
double[] |
snapshot()
Snapshot. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MovingWindowBuffer(int capacity)
capacity - the capacity| Method Detail |
|---|
public void addAll(double... values)
values - the valuespublic double[] snapshot()
public void resize(int newSize)
newSize - the new sizepublic void clear()
|
brought to you by Mr. Stampy | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||