|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OperatorImpl
| Method Summary | |
|---|---|
MathematicalElement |
compute(MathematicalElement leftElement,
MathematicalElement rightElement)
Set the operator to the given element. |
int |
getLeftOperandeType()
Get the left operande managed by this operator implementation. |
java.lang.String |
getOperatorName()
Get the operator name associated to this operator implementation. |
int |
getRightOperandeType()
Get the right operande managed by this operator implementation. |
boolean |
isUnaryOperator()
Tell if operator is an unary or bynary operator. |
| Method Detail |
|---|
boolean isUnaryOperator()
true if operator is unary.int getLeftOperandeType()
int getRightOperandeType()
java.lang.String getOperatorName()
MathematicalElement compute(MathematicalElement leftElement,
MathematicalElement rightElement)
throws EvalException
leftElement - left element for operator.rightElement - right element for operator.
EvalException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||