public class DimensionSizeCheck extends ArraysConstraint
Dimension
object has size that is both
scalar and constant. Also, the size should be a non-negative integer.Constructor | Description |
---|---|
DimensionSizeCheck(Model model,
Dimension dim) |
Modifier and Type | Method | Description |
---|---|---|
void |
check() |
Checks if the given model
doesn't violate the constraint specified by this
object.
|
getListOfErrors
public void check()
ArraysConstraint
check
in class ArraysConstraint