src/main/java/org/apache/datasketches/pig/sampling/VarOptSampling.java [58:66]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  public VarOptSampling(final String kStr) {
    this.targetK_ = Integer.parseInt(kStr);
    this.weightIdx_ = DEFAULT_WEIGHT_IDX;

    if (this.targetK_ < 1) {
      throw new IllegalArgumentException("VarOptSampling requires target sample size >= 1: "
              + this.targetK_);
    }
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



src/main/java/org/apache/datasketches/pig/sampling/DataToVarOptSketch.java [56:64]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  public DataToVarOptSketch(final String kStr) {
    this.targetK_ = Integer.parseInt(kStr);
    this.weightIdx_ = DEFAULT_WEIGHT_IDX;

    if (this.targetK_ < 1) {
      throw new IllegalArgumentException("DataToVarOptSketch requires target sample size >= 1: "
              + this.targetK_);
    }
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



src/main/java/org/apache/datasketches/pig/sampling/VarOptCommonImpl.java [133:141]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public RawTuplesToSketchTuple(final String kStr) {
      this.targetK_ = Integer.parseInt(kStr);
      this.weightIdx_ = DEFAULT_WEIGHT_IDX;

      if (this.targetK_ < 1) {
        throw new IllegalArgumentException("VarOpt requires target reservoir size >= 1: "
                + this.targetK_);
      }
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



