|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.harvard.syrah.pyxida.sim.Statistic<T>
public class Statistic<T extends java.lang.Number>
| Field Summary | |
|---|---|
protected java.util.Vector<T> |
samples
|
| Constructor Summary | |
|---|---|
Statistic()
|
|
| Method Summary | |
|---|---|
void |
add(T sample)
|
void |
clear()
|
T |
getPercentile(double p)
|
int |
getSize()
|
T |
getSum()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final java.util.Vector<T extends java.lang.Number> samples
| Constructor Detail |
|---|
public Statistic()
| Method Detail |
|---|
public void clear()
public void add(T sample)
public int getSize()
public T getPercentile(double p)
public T getSum()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||