ValueChecker < T > function ( Consumer < T > arg0 ) { Objects . requireNonNull ( arg0 , "srini_string" ) ; if ( value != null ) { arg0 . accept ( value ) ; } if ( ! nullAllowed ) { fail ( "srini_string" ) ; } return this ; }
performs a custom check on the value . note : you can assume the value is not null in the check . concode_field_sep boolean nullAllowed concode_elem_sep T value concode_field_sep ValueChecker<T> requirePositiveInteger concode_elem_sep ValueChecker<T> requireType concode_elem_sep ValueChecker<T> requireType concode_elem_sep ValueChecker<T> requireIntegerMin concode_elem_sep ValueChecker<T> requireNonEmptyString concode_elem_sep ValueChecker<T> requireNegativeInteger concode_elem_sep ValueChecker<T> requireComparable concode_elem_sep ValueChecker<T> requireDouble concode_elem_sep ValueChecker<T> requireBoolean concode_elem_sep ValueChecker<T> requireCharacter concode_elem_sep ValueChecker<T> requireMatch concode_elem_sep ValueChecker<T> requireMatch concode_elem_sep ValueChecker<T> requireNaturalInteger concode_elem_sep ValueChecker<T> requireString concode_elem_sep void fail concode_elem_sep void fail concode_elem_sep ValueChecker<T> requireIntegerMax concode_elem_sep ValueChecker<?> checkAgainst concode_elem_sep ValueChecker<T> checkAgainst concode_elem_sep void setValue concode_elem_sep boolean isNullAllowed concode_elem_sep ValueChecker<T> requirePassTest concode_elem_sep ValueChecker<T> requirePassTest concode_elem_sep ValueChecker<T> allowNull concode_elem_sep ValueChecker<T> requireNot concode_elem_sep ValueChecker<T> requireNot concode_elem_sep ValueChecker<T> requireNot concode_elem_sep ValueChecker<T> requireNot concode_elem_sep ValueChecker<T> requireInteger concode_elem_sep ValueChecker<T> requireIn concode_elem_sep ValueChecker<T> requireIn concode_elem_sep ValueChecker<T> requireIn concode_elem_sep ValueChecker<T> requireIn concode_elem_sep ValueChecker<T> requireIntegerBetween