public class AndConstraint extends ComplexConstraint
constraints
Constructor and Description |
---|
AndConstraint(IConstraint[] consts)
Create a new and constraint.
|
AndConstraint(IConstraint firstconst,
IConstraint secondconst)
Create a new and constraint.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString()
Get the string representation.
|
addConstraint, getConstraints, getVariables
public AndConstraint(IConstraint firstconst, IConstraint secondconst)
firstconst
- The first constraint.secondconst
- The second constraint.public AndConstraint(IConstraint[] consts)
consts
- The constraints