|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.goldenhammer.modality.ImageStats
This class contains the means to capture the statistics involving an image's details as a simulation runs.
Constructor Summary | |
ImageStats()
|
Method Summary | |
void |
addStat(java.lang.String key,
long value)
A convenience method for adding a stat to the object's collection. |
void |
addStat(java.lang.String key,
java.lang.Object value)
Adds a stat to the object's collection. |
java.lang.Object |
getStat(java.lang.String key)
Returns a stat for the given key, if it exists. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ImageStats()
Method Detail |
public void addStat(java.lang.String key, java.lang.Object value)
key
- The key for the statistic value to be added to the object.value
- The statistic to add to the object.public java.lang.Object getStat(java.lang.String key)
key
- A key for the value
null
if the value does not exist.public void addStat(java.lang.String key, long value)
key
- The key for the statistic value to be added to the object.value
- The statistic to add to the object.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |