|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcsheets.core.formula.lang.Subtracter
public class Subtracter
A subtracter of a numeric operand from another.
| Constructor Summary | |
|---|---|
Subtracter()
Creates a new subtracter. |
|
| 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 Subtracter()
| 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 | |||||||||