@@ -37,14 +37,11 @@ public ThresholdComparator(double min, double max) { this.min = min; this.max = max; } - /** - * - * @param threshold - */ + public final void setThreshold(double threshold) { if (threshold < min || threshold > max) { throw new IllegalArgumentException("Treshold expected to be withing (" + min + ", " + max + "1). Got: " + threshold); }