T
- the type of the parameter the constraint applies topublic 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
t of 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 constraintCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.