|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcsheets.core.formula.lang.Exponentiator
public class Exponentiator
An exponential operator for raising a numeric operand to the power of another.
| Constructor Summary | |
|---|---|
Exponentiator()
Creates a new exponential operator. |
|
| Method Summary | |
|---|---|
Value |
applyTo(Expression leftOperand,
Expression rightOperand)
Applies the operator to the given operands and returns the result. |
String |
getIdentifier()
Returns the operator's string identirifer. |
Value.Type |
getOperandValueType()
Returns the type of value that the operator's operands can have. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Exponentiator()
| Method Detail |
|---|
public Value applyTo(Expression leftOperand,
Expression rightOperand)
throws IllegalValueTypeException
BinaryOperator
applyTo in interface BinaryOperatorIllegalValueTypeException - if the value of an operand is not of the expected typepublic String getIdentifier()
Operator
getIdentifier in interface Operatorpublic Value.Type getOperandValueType()
Operator
getOperandValueType in interface Operatorpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||