|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.mbari.siam.utils.BasicSummaryRecord
public class BasicSummaryRecord
BasicSummaryRecord consists of multiple fields representing numeric values. each field stores the mean, standard deviation, minimum, and maximum.
| Field Summary | |
|---|---|
protected java.util.Vector |
_fields
|
protected boolean |
_recompute
|
protected long |
_startTime
|
protected long |
_stopTime
|
| Constructor Summary | |
|---|---|
BasicSummaryRecord()
|
|
| Method Summary | |
|---|---|
void |
addSample(DevicePacket packet,
PacketParser parser)
Add another sample to the statistics |
void |
compute()
Compute mean and standard deviation for all fields in summary record. |
void |
reset()
|
boolean |
summarizeField(java.lang.String fieldName)
Return true if specified field should be summarized; else return false. |
java.lang.String |
toString()
Generate string representation of record. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected boolean _recompute
protected long _startTime
protected long _stopTime
protected java.util.Vector _fields
| Constructor Detail |
|---|
public BasicSummaryRecord()
| Method Detail |
|---|
public void reset()
public void addSample(DevicePacket packet,
PacketParser parser)
throws NotSupportedException,
java.text.ParseException
NotSupportedException
java.text.ParseExceptionpublic void compute()
public boolean summarizeField(java.lang.String fieldName)
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||