public interface CellRange<C extends Cell> extends Iterable<C>
Sheet
Modifier and Type | Method and Description |
---|---|
C |
getCell(int relativeRowIndex,
int relativeColumnIndex) |
C[][] |
getCells() |
C[] |
getFlattenedCells() |
int |
getHeight() |
String |
getReferenceText() |
C |
getTopLeftCell() |
int |
getWidth() |
Iterator<C> |
iterator() |
int |
size()
Gets the number of cells in this range.
|
forEach, spliterator
int getWidth()
int getHeight()
int size()
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 © 2020. All rights reserved.