|
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.Add
This is a concrete implementation for the addition "+" operation. Addition is normally the sum of a pair of elements (unary identity), *???but it can also be between two lists???*.
Field Summary |
Fields inherited from class com.klg.jclass.util.formulae.Operation |
leftOperand, rightOperand |
Constructor Summary | |
Add(com.klg.jclass.util.formulae.Expression left,
com.klg.jclass.util.formulae.Expression right)
Create an operation to add two Expressions |
|
Add(com.klg.jclass.util.formulae.Expression left,
Number right)
Create an operation to add an Expression and a Number |
|
Add(Number left,
com.klg.jclass.util.formulae.Expression right)
Create an operation to add a Number and an Expression |
|
Add(Number left,
Number right)
Create an operation to add two Numbers |
Method Summary | |
com.klg.jclass.util.formulae.Result |
evaluate()
Return the result of adding 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 Add(com.klg.jclass.util.formulae.Expression left, com.klg.jclass.util.formulae.Expression right)
public Add(com.klg.jclass.util.formulae.Expression left, Number right)
public Add(Number left, com.klg.jclass.util.formulae.Expression right)
public Add(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 |