public class LessThanConstraint extends Object implements Constraint<LessThan,Number>
Constructor and Description |
---|
LessThanConstraint() |
public boolean isValid(LessThan annotation, Number argument)
Constraint
isValid
in interface Constraint<LessThan,Number>
annotation
- the annotation to matchargument
- the value to be checked