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);
  }
}

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 ) ; } }
add a measurement to estimate
