|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Averages together data, gives the data to whomever asks.. Averager objects read a value (via a MessageProbe) from a collection (typically a list) of objects and collect statistics over them.
Method Summary | |
double |
getAverage()
The getAverage method averages the values the averager collects. |
int |
getCount()
The getCount method returns the number of values the averager collects. |
double |
getMin()
The getMin method returns the minimum value the averager collects. |
double |
getTotal()
The getTotal method sums the values the averager collects. |
Object |
update()
The update method runs through the collection calling the selector on each object. |
Methods inherited from interface swarm.objectbase.MessageProbeS |
setHideResult |
Methods inherited from interface swarm.objectbase.MessageProbe |
doubleDynamicCallOn,
getArgCount,
getArgName,
getHideResult,
getProbedMessage,
isArgumentId,
isResultId,
longDynamicCallOn,
objectDynamicCallOn,
setArg$ToString,
stringDynamicCallOn |
Methods inherited from interface swarm.objectbase.Probe |
clone,
getProbedClass,
getProbedType |
Methods inherited from interface swarm.objectbase.SwarmObject |
getCompleteProbeMap,
getProbeForMessage,
getProbeForVariable,
getProbeMap |
Methods inherited from interface swarm.defobj.Drop |
drop |
Methods inherited from interface swarm.defobj.DefinedObject |
compare,
describe,
describeID,
getDisplayName,
getTypeName,
getZone,
perform,
perform$with,
perform$with$with,
perform$with$with$with,
respondsTo,
setDisplayName,
xfprint,
xfprintid,
xprint,
xprintid |
Method Detail |
public Object update()
public double getAverage()
public double getTotal()
public double getMin()
public int getCount()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |