|
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.Multiply
This is a concrete implementation for the multiplication "*" operation. Multiplication is normally the product of a pair of elements, *???but we also permit the multiplication of two lists???*.
Field Summary |
Fields inherited from class com.klg.jclass.util.formulae.Operation |
leftOperand, rightOperand |
Constructor Summary | |
Multiply()
Create a multiply operation |
|
Multiply(com.klg.jclass.util.formulae.Expression ex1,
com.klg.jclass.util.formulae.Expression ex2)
Create an operation to multiply a given pair of Expressions |
|
Multiply(com.klg.jclass.util.formulae.Expression left,
Number right)
Create an operation to multiply an Expression and a Number |
|
Multiply(Number left,
com.klg.jclass.util.formulae.Expression right)
Create an operation to multiply a Number and an Expression |
|
Multiply(Number left,
Number right)
Create an operation to multiply two Numbers |
Method Summary | |
com.klg.jclass.util.formulae.Result |
evaluate()
Return the result of multiplying 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 Multiply()
public Multiply(com.klg.jclass.util.formulae.Expression ex1, com.klg.jclass.util.formulae.Expression ex2)
public Multiply(com.klg.jclass.util.formulae.Expression left, Number right)
public Multiply(Number left, com.klg.jclass.util.formulae.Expression right)
public Multiply(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 |