class TableEmpty<R,C,V,Tp>
undocumented
Extends: EmptyBase
Implements: TableBase<R,C,V,Tp>
Type parameters
| Name | Constraints | Description |
|---|---|---|
| R | undocumented | |
| C | undocumented | |
| V | undocumented | |
| Tp | ContextImplTypes | undocumented |
Properties
_NonEmptyType
undocumented
_NonEmptyTypeamountRows
undocumented
amountRowscontext
undocumented
contextisEmpty
Returns true since the collection is empty.
isEmptytrue since the collection is empty.length
Returns 0 for the length of the collection.
length0 for the length of the collection.rowMap
undocumented
rowMapsize
Returns 0 for the size of the collection.
size0 for the size of the collection.Methods
[Symbol.iterator]
Returns an empty iterator.
[Symbol.iterator]addEntries
undocumented
addEntriesDefinition
addEntries(entries: StreamSource<readonly [R, C, V]>): WithRow<Tp, R, C, V>['normal'] | any;
Parameters
| Name | Type | Description |
|---|---|---|
entries | StreamSource<readonly [R, C, V]> |
Overrides
addEntry
undocumented
addEntryassumeNonEmpty
Throws a RimbuError.EmptyCollectionAssumedNonEmptyError, since the collection is empty.
assumeNonEmptyRimbuError.EmptyCollectionAssumedNonEmptyError, since the collection is empty.filter
Returns this, since filtering an empty collection is still empty.
filterthis, since filtering an empty collection is still empty.filterRows
undocumented
filterRowsforEach
Performs no action, since there are no elements.
forEachget
undocumented
getgetRow
undocumented
getRowhasRowKey
undocumented
hasRowKeyhasValueAt
undocumented
hasValueAtmapValues
undocumented
mapValuesmodifyAt
undocumented
modifyAtnonEmpty
Returns false, keeping the type narrowed to the empty variant.
nonEmptyfalse, keeping the type narrowed to the empty variant.removeAndGet
undocumented
removeAndGetremoveEntries
undocumented
removeEntriesremoveRow
undocumented
removeRowremoveRowAndGet
undocumented
removeRowAndGetremoveRows
undocumented
removeRowsset
undocumented
setstream
Returns an empty Stream.
streamStream.streamRows
undocumented
streamRowsstreamValues
undocumented
streamValuestoArray
Returns an empty array.
toArraytoBuilder
undocumented
toBuildertoJSON
undocumented
toJSONtoString
undocumented
toStringupdateAt
undocumented
updateAt