/** * @return a new instance of a validator checking for a input string representing a positive integer number in the given range */ public static Validator<String> positiveIntRange(int lower, int upper) { return new PositiveIntRangeStringValidator(lower, upper); }