public class Constraint extends Object
| Constructor and Description |
|---|
Constraint(List<String> parameterNames,
ConstraintFunction constraintFunction)
Creates a new constraint.
|
| Modifier and Type | Method and Description |
|---|---|
ConstraintFunction |
getConstraintFunction() |
List<String> |
getParameterNames() |
String |
toString() |
public Constraint(List<String> parameterNames, ConstraintFunction constraintFunction)
parameterNames - the names of all involved parameters. Must not be, or contain null, or be emptyconstraintFunction - the function by which the values for the parameters are constrained.
Must not be nullpublic List<String> getParameterNames()
public ConstraintFunction getConstraintFunction()
Copyright © 2019. All rights reserved.