
T - the type of the constraintpublic interface ParameterConstraint<T>
test(T).
 | Modifier and Type | Method and Description | 
|---|---|
| String | getDescription(String parameterName)Returns a description of this constraint. | 
| void | test(T t)Checks if the value  tof the parameter to be tested fulfills the parameter constraint. | 
void test(T t) throws ParameterException
t of the parameter to be tested fulfills the parameter constraint.
 If not, a parameter exception is thrown.t - Value to be checked whether or not it fulfills the underlying
          parameter constraint.ParameterException - if the parameter to be tested does not
                            fulfill the parameter constraint