aim4.sim
Interface StatCollector<T>

Type Parameters:
T - the type of the statistic collector
All Known Implementing Classes:
BatchModeRequestHandler.RequestStatCollector, ReservationGridManager.VinHistoryStatCollector

public interface StatCollector<T>

The statistic collector.


Method Summary
 void collect(T obj)
          Collect the statistic about a given object.
 void print(PrintStream outfile)
          Print the statistics to an output stream.
 

Method Detail

collect

void collect(T obj)
Collect the statistic about a given object.

Parameters:
obj - the given object

print

void print(PrintStream outfile)
Print the statistics to an output stream.

Parameters:
outfile - the output stream


Copyright © 2011. All Rights Reserved.