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

Method Summary
 void setChild(Expression oldChild, Expression newChild)
          Replaces a current child Expression with a new child Expression
 
Methods inherited from interface wugle.expression.Expression
clone, getParent, getSymbol, isEqual, setParent
 

Method Detail

setChild

public void setChild(Expression oldChild,
                     Expression newChild)
Replaces a current child Expression with a new child Expression

Parameters:
oldChild - Child Expression to replace
newChild - Replacement child Expression