csheets.core.formula
Class Operation<O extends Operator>
java.lang.Object
csheets.core.formula.Operation<O>
- All Implemented Interfaces:
- Expression, Serializable
- Direct Known Subclasses:
- BinaryOperation, UnaryOperation
public abstract class Operation<O extends Operator>
- extends Object
- implements Expression
An operation in a formula.
- Author:
- Einar Pehrson
- See Also:
- Serialized Form
|
Field Summary |
protected O |
operator
The operator |
|
Constructor Summary |
Operation(O operator)
Creates a new operation. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
operator
protected O extends Operator operator
- The operator
Operation
public Operation(O operator)
- Creates a new operation.
- Parameters:
operator - the (n-ary) operator
getOperator
public O getOperator()
- Returns the operator.
- Returns:
- the operator.