T
- the type of the parameter the constraint applies topublic interface ParameterConstraint<T>
test(T)
.Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription(java.lang.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 constraintjava.lang.String getDescription(java.lang.String parameterName)
parameterName
- the name of the parameter this constraint is used forCopyright © 2019 ELKI Development Team. License information.