|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.klg.jclass.util.formulae.Operation | +--com.klg.jclass.util.formulae.Divide
This is a concrete implementation for the division "/" operation. Division is normally the ratio between a pair of elements, but we also permit a unary form (returns 1 / x) *???and division of two lists???*.
Field Summary |
Fields inherited from class com.klg.jclass.util.formulae.Operation |
leftOperand, rightOperand |
Constructor Summary | |
Divide(com.klg.jclass.util.formulae.Expression left,
com.klg.jclass.util.formulae.Expression right)
Create an operation to divide two Expressions |
|
Divide(com.klg.jclass.util.formulae.Expression left,
Number right)
Create an operation to divide an Expression by a Number |
|
Divide(Number left,
com.klg.jclass.util.formulae.Expression right)
Create an operation to divide a Number by an Expression |
|
Divide(Number left,
Number right)
Create an operation to divide two Numbers |
Method Summary | |
com.klg.jclass.util.formulae.Result |
evaluate()
Return the result of dividing the operands |
Methods inherited from class com.klg.jclass.util.formulae.Operation |
clone |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Divide(com.klg.jclass.util.formulae.Expression left, com.klg.jclass.util.formulae.Expression right)
public Divide(com.klg.jclass.util.formulae.Expression left, Number right)
public Divide(Number left, com.klg.jclass.util.formulae.Expression right)
public Divide(Number left, Number right)
Method Detail |
public com.klg.jclass.util.formulae.Result evaluate()
evaluate
in interface Expression
evaluate
in class Operation
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |