|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectxsmeral.pipe.stats.Sum
public class Sum
Sum function.
| Constructor Summary | |
|---|---|
Sum()
|
|
| Method Summary | |
|---|---|
void |
add()
Adds one unit (may not make sense for all functions). |
void |
add(Long value)
Adds the specified value. |
Long |
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 Sum()
| Method Detail |
|---|
public void add()
StatFunction
add in interface StatFunction<Long>public void add(Long value)
StatFunction
add in interface StatFunction<Long>public Long getValue()
StatFunction
getValue in interface StatFunction<Long>public void reset()
StatFunction
reset in interface StatFunction<Long>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||