Class MaxValidatorForByte
- java.lang.Object
-
- org.hibernate.validator.internal.constraintvalidators.bv.number.bound.AbstractMaxValidator<Byte>
-
- org.hibernate.validator.internal.constraintvalidators.bv.number.bound.MaxValidatorForByte
-
- All Implemented Interfaces:
ConstraintValidator<Max,Byte>
public class MaxValidatorForByte extends AbstractMaxValidator<Byte>
Check that the number being validated is less than or equal to the maximum value specified.- Author:
- Marko Bekhta
-
-
Field Summary
-
Fields inherited from class org.hibernate.validator.internal.constraintvalidators.bv.number.bound.AbstractMaxValidator
maxValue
-
-
Constructor Summary
Constructors Constructor Description MaxValidatorForByte()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intcompare(Byte number)-
Methods inherited from class org.hibernate.validator.internal.constraintvalidators.bv.number.bound.AbstractMaxValidator
initialize, isValid
-
-
-
-
Method Detail
-
compare
protected int compare(Byte number)
- Specified by:
comparein classAbstractMaxValidator<Byte>
-
-