public class ValueRecordsAggregate extends Record
Modifier and Type | Class and Description |
---|---|
class |
ValueRecordsAggregate.MyIterator |
Modifier and Type | Field and Description |
---|---|
static short |
sid |
Constructor and Description |
---|
ValueRecordsAggregate()
Creates a new instance of ValueRecordsAggregate
|
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Performs a deep clone of the record
|
int |
construct(int offset,
List records) |
protected void |
fillFields(RecordInputStream in)
You never fill an aggregate
|
int |
getFirstCellNum() |
Iterator |
getIterator() |
int |
getLastCellNum() |
int |
getPhysicalNumberOfCells() |
int |
getRecordSize()
gives the current serialized size of the record.
|
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.
|
short |
getSid()
return the non static version of the id for this record.
|
void |
insertCell(CellValueRecordInterface cell) |
void |
removeCell(CellValueRecordInterface cell) |
boolean |
rowHasCells(int row)
Returns true if the row has cells attached to it
|
int |
serialize(int offset,
byte[] data)
called by the class that is responsible for writing this sucker.
|
int |
serializeCellRow(int row,
int offset,
byte[] data)
Serializes the cells that are allocated to a certain row range
|
protected void |
validateSid(short id)
called by constructor, should throw runtime exception in the event of a
record passed with a differing ID.
|
isInValueSection, isValue, serialize, toString
public static final short sid
public ValueRecordsAggregate()
public void insertCell(CellValueRecordInterface cell)
public void removeCell(CellValueRecordInterface cell)
public int getPhysicalNumberOfCells()
public int getFirstCellNum()
public int getLastCellNum()
public int construct(int offset, List records)
public int serialize(int offset, byte[] data)
public int getRowCellBlockSize(int startRow, int endRow)
public boolean rowHasCells(int row)
public int serializeCellRow(int row, int offset, byte[] data)
protected void fillFields(RecordInputStream in)
fillFields
in class Record
in
- the RecordInputstream to read the record fromprotected void validateSid(short id)
validateSid
in class Record
id
- alleged id for this recordpublic short getSid()
public int getRecordSize()
Record
getRecordSize
in class Record
public Iterator getIterator()
Copyright © 2014 Open Microscopy Environment