wugle.expression
Interface Operator
- All Superinterfaces:
- java.lang.Cloneable, Expression
- All Known Subinterfaces:
- Associative, BinaryOperator, Commutative, DeMorgans, Distributive, Dominatable, Idempotent, Identity, ImpliesRule, Tautology, UnaryOperator, XorRule
- All Known Implementing Classes:
- AbstractBinaryOperator, AbstractUnaryOperator, Implies, LogicBinaryOperator, Not, Or, Xor
- public interface Operator
- extends Expression
An Expression that can have children.
An Operator
is an Expression
that can have any number of child Expressions.
- Version:
- 0.1.3
- Author:
- Jacob Perkins
setChild
public void setChild(Expression oldChild,
Expression newChild)
- Replaces a current child Expression with a new child Expression
- Parameters:
oldChild
- Child Expression to replacenewChild
- Replacement child Expression