public PruneByAge(double maxAgeSec) {if (maxAgeSec < 0) {throw new IllegalArgumentException("maxAgeSec must be > 0 (got " + maxAgeSec + ")");}this.maxAgeSec = maxAgeSec;}
public PruneByAge(double maxAgeSec){if (maxAgeSec < 0){throw new System.ArgumentException("maxAgeSec must be > 0 (got " + maxAgeSec + ")");}this.maxAgeSec = maxAgeSec;}