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

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



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

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



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

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



