|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.org.ogsadai.expression.arithmetic.BinaryExpression
uk.org.ogsadai.expression.arithmetic.Div
public class Div
Binary expression: div. Division.
| Field Summary |
|---|
| Fields inherited from class uk.org.ogsadai.expression.arithmetic.BinaryExpression |
|---|
mContextType, mEval, mLeftChild, mOriginalType, mRightChild, mType |
| Constructor Summary | |
|---|---|
Div(ArithmeticExpression child1,
ArithmeticExpression child2)
Constructor. |
|
Div(ArithmeticExpression child1,
ArithmeticExpression child2,
Div div)
Copy constructor. |
|
| Method Summary | |
|---|---|
void |
accept(ArithmeticExpressionVisitor visitor)
Accept an arithmetic expression visitor. |
java.lang.Number |
localEvaluate(java.lang.Number value1,
java.lang.Number value2)
Performs operation specific evaluation. |
protected void |
printOperator(java.lang.StringBuffer buf)
Append the operator name (e.g. |
| Methods inherited from class uk.org.ogsadai.expression.arithmetic.BinaryExpression |
|---|
configure, configure, evaluate, getChildren, getLeftExpression, getMetadata, getResult, getRightExpression, resetType, setContextType, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Div(ArithmeticExpression child1,
ArithmeticExpression child2)
child1 - left hand side operandchild2 - right hand side operand
public Div(ArithmeticExpression child1,
ArithmeticExpression child2,
Div div)
child1 - left hand side operandchild2 - right hand side operanddiv - copied div| Method Detail |
|---|
public java.lang.Number localEvaluate(java.lang.Number value1,
java.lang.Number value2)
localEvaluate in class BinaryExpressionvalue1 - left hand side valuevalue2 - right hand side value
protected void printOperator(java.lang.StringBuffer buf)
printOperator in class BinaryExpressionbuf - bufferpublic void accept(ArithmeticExpressionVisitor visitor)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||