Interface TwoDEval

All Superinterfaces:
ValueEval
All Known Subinterfaces:
AreaEval

public interface TwoDEval extends ValueEval
Two-dimensional grid of ValueEval cells. Implemented by AreaEval (multi-cell range) and by single-cell references that present themselves as a 1×1 grid.

Replaces org.apache.poi.ss.formula.TwoDEval.

Since:
7.0.0
  • Method Details

    • getValue

      ValueEval getValue(int rowIndex, int columnIndex)
      Returns:
      cell value at the given (relative) row/column.
    • getHeight

      int getHeight()
      Returns:
      number of rows spanned by this grid (≥ 1).
    • getWidth

      int getWidth()
      Returns:
      number of columns spanned by this grid (≥ 1).
    • isRow

      boolean isRow()
      Returns:
      true if the grid is logically a single row.
    • isColumn

      boolean isColumn()
      Returns:
      true if the grid is logically a single column.