public class Between extends AllOf
condition
that is satisfied if and only both its minimum and maximum
conditions are satisified.conditions_
ALWAYS
Constructor and Description |
---|
Between(BoundedAssertion min,
BoundedAssertion max)
Creates a new Between instance.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(IConditionVisitor visitor)
Implements the Visitor pattern for this condition.
|
ConditionSet |
add(ICondition condition)
Adds a condition to this set.
|
BoundedAssertion |
getMax()
Returns the maximum condition.
|
BoundedAssertion |
getMin()
Returns the minimum condition.
|
ConditionSet |
remove(ICondition condition)
Removes a condition from this set.
|
String |
toString() |
compatible, satisfied
equals, getConditions, hashCode
public Between(BoundedAssertion min, BoundedAssertion max)
public BoundedAssertion getMin()
public BoundedAssertion getMax()
public ConditionSet add(ICondition condition)
add
in class ConditionSet
public ConditionSet remove(ICondition condition)
remove
in class ConditionSet
public void accept(IConditionVisitor visitor)
accept
in interface ICondition
accept
in class AllOf
public String toString()
toString
in class ConditionSet
Copyright © 2024 The Cornutum Project. All rights reserved.