|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcppncss.measure.SumCollector
public final class SumCollector
Collects sums of measures.
| Constructor Summary | |
|---|---|
SumCollector(SumObserver observer)
Create a sum collector. |
|
| Method Summary | |
|---|---|
void |
changed(java.lang.String filename)
Specify the file being processed. |
void |
flush()
Output computed measurements. |
void |
notify(java.lang.String label,
java.lang.String item,
int line,
int count)
Notify about a measure. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SumCollector(SumObserver observer)
observer - an observer to be notified of the results| Method Detail |
|---|
public void notify(java.lang.String label,
java.lang.String item,
int line,
int count)
notify in interface CounterObserverlabel - the name of the measureitem - the name of the item measuredline - the location of the itemcount - the value of the measurepublic void changed(java.lang.String filename)
changed in interface FileObserverfilename - the name of the flepublic void flush()
flush in interface Collector
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||