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