Package io.github.mmm.validation.number
Class ValidatorBuilderByte<PARENT>
java.lang.Object
io.github.mmm.validation.main.ObjectValidatorBuilder<Byte,PARENT,ValidatorBuilderByte<PARENT>>
io.github.mmm.validation.main.ComparableValidatorBuilder<Byte,PARENT,ValidatorBuilderByte<PARENT>>
io.github.mmm.validation.number.NumberValidatorBuilder<Byte,PARENT,ValidatorBuilderByte<PARENT>>
io.github.mmm.validation.number.ValidatorBuilderByte<PARENT>
- Type Parameters:
PARENT
- the generic type of theparent builder
.
- All Implemented Interfaces:
io.github.mmm.base.lang.Builder<Validator<? super Byte>>
,ValidatorRegistry<Byte,
ValidatorBuilderByte<PARENT>>
public class ValidatorBuilderByte<PARENT>
extends NumberValidatorBuilder<Byte,PARENT,ValidatorBuilderByte<PARENT>>
Validator builder
for Byte
values.- Since:
- 7.6.0
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.github.mmm.validation.number.NumberValidatorBuilder
range
Methods inherited from class io.github.mmm.validation.main.ComparableValidatorBuilder
range, range
Methods inherited from class io.github.mmm.validation.main.ObjectValidatorBuilder
add, add, and, build, getValidators, mandatory, max, min, self
-
Constructor Details
-
ValidatorBuilderByte
The constructor.- Parameters:
parent
- theparent
builder.
-
-
Method Details
-
range
- Parameters:
min
- the minimum allowed value.max
- the maximum allowed value.- Returns:
- this build instance for fluent API calls.
- See Also:
-
parse
- Specified by:
parse
in classNumberValidatorBuilder<Byte,
PARENT, ValidatorBuilderByte<PARENT>> - Parameters:
string
- thestring representation
of theNumber
to parse.- Returns:
- the parsed
Number
.
-