code: public void add(final float x) {
          if(isInitializing) {
              q[ni++] = x;
  
              if(ni == 2*m+3+1) {
                  Arrays.sort(q);
                  isInitializing=false;
              }
          } else {
              addMeasurement(x);
          }
      }
docs: Add a measurement to estimate
  
  @param x - the value of the measurement