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