code: public void add(TimeSeries other) {
      TreeMap<Long, Integer> otherSeries = other.getSeries();
      for (Map.Entry<Long, Integer> event : otherSeries.entrySet()) {
        record(event.getKey() + other.getWidthNano() / 2, event.getValue());
      }
    }
docs: Add one histogram to the current one. We preserve the width in the current TimeSeries.
  
  @param other the TimeSeries instance to add