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