public class GroupEqualityExpr extends java.lang.Object implements BooleanExpression
BooleanExpression representing the Boolean equality "=" of two GroupElementExpression instances.| Modifier and Type | Field and Description |
|---|---|
protected GroupElementExpression |
lhs
The group element expression on the left hand side of this Boolean equality.
|
protected GroupElementExpression |
rhs
The group element expression on the right hand side of this Boolean equality.
|
FALSE, TRUE| Constructor and Description |
|---|
GroupEqualityExpr(GroupElementExpression lhs,
GroupElementExpression rhs) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Boolean |
evaluate(Substitution substitutions)
Evaluates the expression after substituting contained variables.
|
LazyBoolEvaluationResult |
evaluateLazy(Substitution substitution)
Evaluates the result of this expression (with the given substitutions) concurrently in the background.
|
void |
forEachChild(java.util.function.Consumer<Expression> action)
Calls action on every (direct) child of this expression.
|
Group |
getGroup() |
GroupElementExpression |
getLhs()
Retrieves the group element expression on the left hand side of this Boolean equality.
|
GroupElementExpression |
getRhs()
Retrieves the group element expression on the right hand side of this Boolean equality.
|
GroupEqualityExpr |
substitute(Substitution substitutions)
Substitutes variables using the given function.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitand, evaluate, evaluateLazy, not, or, substitute, substitute, valueOfaccumulate, containsExprMatchingPredicate, containsVariables, getVariables, treeWalkprotected GroupElementExpression lhs
protected GroupElementExpression rhs
public GroupEqualityExpr(GroupElementExpression lhs, GroupElementExpression rhs)
public GroupElementExpression getLhs()
public GroupElementExpression getRhs()
public Group getGroup()
public GroupEqualityExpr substitute(Substitution substitutions)
Expressionsubstitute in interface BooleanExpressionsubstitute in interface Expressionsubstitutions - a function mapping variable expressions to their replacement expressionspublic java.lang.Boolean evaluate(Substitution substitutions)
Expressionevaluate in interface BooleanExpressionevaluate in interface Expressionsubstitutions - a function mapping variables to expressions that can be evaluatedpublic LazyBoolEvaluationResult evaluateLazy(Substitution substitution)
BooleanExpressionevaluateLazy in interface BooleanExpressionpublic void forEachChild(java.util.function.Consumer<Expression> action)
ExpressionGroupOpExpr, this would call action on the left- and right-hand-side and then return.forEachChild in interface Expression