public class RangeReference extends Object implements BinaryOperator
Constructor and Description |
---|
RangeReference()
Creates a new range reference operator.
|
Modifier and Type | Method and Description |
---|---|
Value |
applyTo(Expression leftOperand,
Expression rightOperand)
Applies the operator to the given operands and returns the result.
|
Cell[][] |
getCells(Reference reference1,
Reference reference2)
Returns the range of cells formed by the two cell references.
|
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() |
public RangeReference()
public Value applyTo(Expression leftOperand, Expression rightOperand)
BinaryOperator
applyTo
in interface BinaryOperator
public Cell[][] getCells(Reference reference1, Reference reference2)
reference1
- the first referencereference2
- the other referencepublic String getIdentifier()
Operator
getIdentifier
in interface Operator
public Value.Type getOperandValueType()
Operator
getOperandValueType
in interface Operator