T - the type of the statistic collectorpublic interface StatCollector<T>
| Modifier and Type | Method and Description |
|---|---|
void |
collect(T obj)
Collect the statistic about a given object.
|
void |
print(PrintStream outfile)
Print the statistics to an output stream.
|
void collect(T obj)
obj - the given objectvoid print(PrintStream outfile)
outfile - the output streamCopyright © 2013. All rights reserved.