docs: public synchronized void reset(TreeMap<Integer,R> builds) {
          Index index = new Index();
          for (R r : builds.values()) {
              BuildReference<R> ref = createReference(r);
              index.byNumber.put(getNumberOf(r),ref);
          }
  
          this.index = index;
      }