java.lang.Iterable<C>
SSCellRange
public interface CellRange<C extends Cell>
extends java.lang.Iterable<C>
Sheet
Modifier and Type | Method | Description |
---|---|---|
C |
getCell(int relativeRowIndex,
int relativeColumnIndex) |
|
C[][] |
getCells() |
|
C[] |
getFlattenedCells() |
|
int |
getHeight() |
|
java.lang.String |
getReferenceText() |
|
C |
getTopLeftCell() |
|
int |
getWidth() |
|
java.util.Iterator<C> |
iterator() |
|
int |
size() |
Gets the number of cells in this range.
|
int getWidth()
int getHeight()
int size()
java.lang.String getReferenceText()
C getTopLeftCell()
null
.C getCell(int relativeRowIndex, int relativeColumnIndex)
relativeRowIndex
- must be between 0 and height-1relativeColumnIndex
- must be between 0 and width-1null
.C[] getFlattenedCells()
CellRange
C[][] getCells()
CellRange
. The first
array dimension is the row index (values 0...height-1)
and the second dimension is the column index (values 0...width-1)Copyright 2018 The Apache Software Foundation or its licensors, as applicable.