public class FSBooleanConstraintImpl extends Object implements FSBooleanConstraint
Constructor and Description |
---|
FSBooleanConstraintImpl()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
eq(boolean cond)
Set the constraint.
|
boolean |
match(boolean cond)
Check the condition.
|
String |
toString() |
public void eq(boolean cond)
FSBooleanConstraint
eq
in interface FSBooleanConstraint
cond
- The condition that needs to be matched to satisfy the constraint.public boolean match(boolean cond)
FSBooleanConstraint
match
in interface FSBooleanConstraint
cond
- Value to compare with the condition.Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.