f7
f7 is a spreadsheet formula execution library
git clone https://git.vogt.world/f7.git
Log | Files | README.md | LICENSE.md
← All files
name: src/main/java/io/protobase/f7/models/RangeNode.java
-rw-r--r--
764
 1package io.protobase.f7.models;
 2
 3import com.google.common.base.MoreObjects;
 4
 5/**
 6 * A range node represents a range of cells with a starting cell and ending cell, possibly by infering that the start or
 7 * end cells are the max-cell or min-cell in the column or row.
 8 */
 9public class RangeNode extends BaseObject implements Node {
10  private CellQuery cellQuery;
11
12  public RangeNode(CellQuery cellQuery) {
13    this.cellQuery = cellQuery;
14  }
15
16  public CellQuery getCellQuery() {
17    return cellQuery;
18  }
19
20  @Override
21  public String toString() {
22    return MoreObjects.toStringHelper(this)
23        .add("cellQuery", cellQuery)
24        .toString();
25  }
26
27  @Override
28  public Object[] significantAttributes() {
29    return new Object[]{
30        cellQuery
31    };
32  }
33}