|
Release Planner v1.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.Observable | +--rp.expn.Expn | +--rp.expn.OperatorExpn | +--rp.expn.NaryOperatorExpn
An N'ary operation node in an expression tree.
Field Summary |
Fields inherited from class rp.expn.OperatorExpn |
operands |
Constructor Summary | |
NaryOperatorExpn(Expn[] operands)
Construct a new n'ary operator with the given operands. |
Method Summary | |
void |
setOperand(Expn[] operands)
Sets all the operands at once Either this method or setNumOperands must be called before any other |
void |
setOperand(int i,
Expn operand)
Sets the i'th operand (0-based) to the given expression. |
Methods inherited from class rp.expn.OperatorExpn |
getNumOperands, getOperand, getOperand, setNumOperands, update |
Methods inherited from class rp.expn.Expn |
getScalarMean |
Methods inherited from class java.util.Observable |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NaryOperatorExpn(Expn[] operands)
operands
- an arrya of operandsMethod Detail |
public void setOperand(int i, Expn operand)
OperatorExpn
setOperand
in class OperatorExpn
i
- the index (0-based) of the operand to setpublic void setOperand(Expn[] operands)
OperatorExpn
setOperand
in class OperatorExpn
|
Release Planner v1.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |