code: public void configure(JobConf job) {
      this.longCounters = new TreeMap<Object, Long>();
      this.doubleCounters = new TreeMap<Object, Double>();
    }
docs: Initializes a new instance from a {@link JobConf}.
  
  @param job
  the configuration