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