public interface Reference extends Expression, Comparable<Reference>
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Reference reference)
Compares the reference with the given reference for order.
|
Value |
evaluate()
Evaluates the expression and returns the result.
|
SortedSet<Cell> |
getCells()
Returns the cell addresses (or address) that the reference points to.
|
accept
Value evaluate()
Expression
evaluate
in interface Expression
SortedSet<Cell> getCells()
int compareTo(Reference reference)
compareTo
in interface Comparable<Reference>
reference
- the reference to be compared