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