public abstract class AbstractUnmodifiableDataTable extends AbstractBigDataTable
DEFAULT_FORMAT, ELEMENT_ID| Constructor and Description |
|---|
AbstractUnmodifiableDataTable() |
| Modifier and Type | Method and Description |
|---|---|
DataRecord |
addRecord()
Adds new record to the table.
|
DataTable |
addRecord(DataRecord record)
Adds new record to the table.
|
DataTable |
addRecord(int index,
DataRecord record)
Adds new record to the table at the specified index.
|
DataRecord |
addRecord(java.lang.Object... fieldValues)
Adds new record to the table.
|
protected DataRecord |
removeRecordImpl(int index) |
void |
removeRecords(DataRecord rec)
Removes all records equal to the rec parameter from the table.
|
void |
reorderRecord(DataRecord record,
int index)
Moves specified record to position specified by
index argument. |
DataTable |
setRecord(int index,
DataRecord record)
Replaces record at the specified index.
|
void |
sort(java.util.Comparator<DataRecord> comparator) |
void |
sort(DataTableSorter sorter) |
clone, compareTo, decrementRecordCount, getRecordCount, incrementRecordCount, isSimple, makeImmutable, setId, setRecordCount, toSimpleDataTableaddRecords, append, applyCachedFormat, cloneIfImmutable, close, conform, conformMessage, dataAsString, dataAsString, encode, encode, encode, encode, findIndex, findIndex, fixRecords, get, getDescription, getEncodedData, getEncodedData, getFieldCount, getFormat, getFormat, getFormat, getId, getInvalidationMessage, getQuality, getRecordById, getRecords, getTimestamp, getValue, hasField, isImmutable, isInvalid, joinFormats, rec, removeRecord, removeRecordsByIds, select, select, selectAll, setFormat, setInvalidationMessage, setQuality, setTimestamp, sort, splitFormat, stream, swapRecords, toString, validate, validateRecordequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdataAsString, equals, findIndex, getRecord, hashCode, isOneCellTable, iterator, iterator, toDefaultStringprotected DataRecord removeRecordImpl(int index)
removeRecordImpl in class AbstractDataTablepublic DataTable addRecord(DataRecord record)
DataTablepublic DataRecord addRecord(java.lang.Object... fieldValues)
DataTablepublic DataTable addRecord(int index, DataRecord record)
DataTablepublic DataRecord addRecord()
DataTablepublic DataTable setRecord(int index, DataRecord record)
DataTablepublic void removeRecords(DataRecord rec)
DataTablepublic void reorderRecord(DataRecord record, int index)
DataTableindex argument.
record must belong to this table, otherwise method will throw an IllegalStateExceptionpublic void sort(DataTableSorter sorter)
public void sort(java.util.Comparator<DataRecord> comparator)