public static Validation<Integer> lowerThan(int max, String msg) {
        return SimpleValidation.from((i) -> i < max, format(msg, max));
    }
public static Validation < Integer > lowerThan ( int max , String msg ) { return SimpleValidation . from ( ( i ) -> i < max , format ( msg , max ) ) ; }
Determine if the input int parameter is lower than max. if yes, the check passes

@param max input must be < max number
@param msg error message after verification failed
@return Validation