public final class ValueRecordsAggregate extends Object implements Iterable<CellValueRecordInterface>
Constructor and Description |
---|
ValueRecordsAggregate()
Creates a new instance of ValueRecordsAggregate
|
Modifier and Type | Method and Description |
---|---|
void |
addMultipleBlanks(MulBlankRecord mbr) |
Object |
clone() |
void |
construct(CellValueRecordInterface rec,
RecordStream rs,
SharedValueManager sfh)
Processes a single cell value record
|
int |
getFirstCellNum() |
int |
getLastCellNum() |
int |
getPhysicalNumberOfCells() |
int |
getRowCellBlockSize(int startRow,
int endRow)
Tallies a count of the size of the cell records
that are attached to the rows in the range specified.
|
CellValueRecordInterface[] |
getValueRecords()
Deprecated.
use
iterator() instead |
void |
insertCell(CellValueRecordInterface cell) |
Iterator<CellValueRecordInterface> |
iterator()
value iterator
|
void |
removeAllCellsValuesForRow(int rowIndex) |
void |
removeCell(CellValueRecordInterface cell) |
boolean |
rowHasCells(int row)
Returns true if the row has cells attached to it
|
void |
updateFormulasAfterRowShift(FormulaShifter shifter,
int currentExternSheetIndex) |
void |
visitCellsForRow(int rowIndex,
RecordAggregate.RecordVisitor rv) |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public ValueRecordsAggregate()
public void insertCell(CellValueRecordInterface cell)
public void removeCell(CellValueRecordInterface cell)
public void removeAllCellsValuesForRow(int rowIndex)
public int getPhysicalNumberOfCells()
public int getFirstCellNum()
public int getLastCellNum()
public void addMultipleBlanks(MulBlankRecord mbr)
public void construct(CellValueRecordInterface rec, RecordStream rs, SharedValueManager sfh)
sfh
- used to resolve any shared-formulas/arrays/tables for the current sheetpublic int getRowCellBlockSize(int startRow, int endRow)
public boolean rowHasCells(int row)
public void visitCellsForRow(int rowIndex, RecordAggregate.RecordVisitor rv)
public void updateFormulasAfterRowShift(FormulaShifter shifter, int currentExternSheetIndex)
public Iterator<CellValueRecordInterface> iterator()
iterator
in interface Iterable<CellValueRecordInterface>
@Deprecated public CellValueRecordInterface[] getValueRecords()
iterator()
insteadBlankRecord
s appear separate (not in MulBlankRecord
s).Copyright © 2020. All rights reserved.