public void addStatisticsCollector(StatisticsCollector<T> collector) {
    myStatisticsCollectors.add(collector);
    addElementsMarkListener(collector);
  }
public void addStatisticsCollector(StatisticsCollector<T> collector)