public class Conjunction extends Object implements IConjunct
condition
in conjunctive normal form.ALWAYS
Constructor and Description |
---|
Conjunction(IDisjunct... disjuncts)
Creates a new Conjunction instance.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(IConditionVisitor visitor)
Implements the Visitor pattern for this condition.
|
Conjunction |
add(IDisjunct disjunct)
Adds a disjunct to this conjunction.
|
Conjunction |
append(IConjunct conjunct)
Appends another conjunction to this conjunction.
|
boolean |
compatible(PropertySet properties)
Returns true if this condition is compatible with the given test case properties.
|
boolean |
equals(Object object) |
int |
getDisjunctCount()
Returns the number of disjunctions for this conjunction.
|
Iterator<IDisjunct> |
getDisjuncts()
Returns the disjuncts in this conjunction.
|
int |
hashCode() |
Conjunction |
remove(IDisjunct disjunct)
Removes a disjunct from this conjunction.
|
boolean |
satisfied(PropertySet properties)
Returns true if this condition is satisfied by the given test case properties.
|
String |
toString() |
public Conjunction(IDisjunct... disjuncts)
public boolean satisfied(PropertySet properties)
satisfied
in interface ICondition
public boolean compatible(PropertySet properties)
compatible
in interface ICondition
public void accept(IConditionVisitor visitor)
accept
in interface ICondition
public Conjunction add(IDisjunct disjunct)
public Conjunction append(IConjunct conjunct)
public Conjunction remove(IDisjunct disjunct)
public Iterator<IDisjunct> getDisjuncts()
getDisjuncts
in interface IConjunct
public int getDisjunctCount()
getDisjunctCount
in interface IConjunct
Copyright © 2024 The Cornutum Project. All rights reserved.