public class LessThanConstraint extends Object implements Constraint<LessThan,Number>
Constructor and Description |
---|
LessThanConstraint() |
Modifier and Type | Method and Description |
---|---|
boolean |
isValid(LessThan annotation,
Number argument)
For each value or parameter which should be checked this method will be invoked.
|
public boolean isValid(LessThan annotation, Number argument)
Constraint
isValid
in interface Constraint<LessThan,Number>
annotation
- the annotation to matchargument
- the value to be checked