
N - Number typepublic class ListGreaterEqualConstraint<N extends Number> extends AbstractNumberConstraint<List<N>>
ListParameter)
tested have to be greater than or equal to the specified constraint value.constraintValue| Constructor and Description |
|---|
ListGreaterEqualConstraint(N constraintValue)
Creates a Greater-Equal-Than-Number parameter constraint.
|
public ListGreaterEqualConstraint(N constraintValue)
constraintValue - parameter constraint valuepublic void test(List<N> t) throws ParameterException
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 constraintpublic String getDescription(String parameterName)
ParameterConstraintparameterName - the name of the parameter this constraint is used for