|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object xsmeral.pipe.stats.TimeInterval
public class TimeInterval
Average time interval between calls to add()
.
Constructor Summary | |
---|---|
TimeInterval()
|
Method Summary | |
---|---|
void |
add()
Adds one unit (may not make sense for all functions). |
void |
add(Double value)
Adds the specified value. |
Double |
getValue()
Returns result of this function over all values supplied since instantiation or last reset. |
void |
reset()
Resets value of this function to the initial state. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TimeInterval()
Method Detail |
---|
public void add()
StatFunction
add
in interface StatFunction<Double>
public void add(Double value)
StatFunction
add
in interface StatFunction<Double>
public Double getValue()
StatFunction
getValue
in interface StatFunction<Double>
public void reset()
StatFunction
reset
in interface StatFunction<Double>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |