public class FIFO
extends java.lang.Object
Constructor and Description |
---|
FIFO(int listSize)
Instantiates a new fifo.
|
Modifier and Type | Method and Description |
---|---|
void |
add(double value)
Adds the.
|
void |
display()
Display.
|
double |
getMean()
Gets the mean.
|
double |
getSum()
Gets the sum.
|
double |
getVariance()
Gets the variance.
|
public FIFO(int listSize)
listSize
- the list sizepublic void add(double value)
value
- the valuepublic double getSum()
public double getMean()
public double getVariance()
public void display()