interface TableBase.Builder<R,C,V,Tp>
undocumented
Implemented by: Table.Builder<R,C,V>
, HashTableSortedColumn.Builder<R,C,V>
, SortedTableHashColumn.Builder<R,C,V>
, SortedTableSortedColumn.Builder<R,C,V>
, HashTableHashColumn.Builder<R,C,V>
Type parameters
Name | Constraints | Default | Description |
---|---|---|---|
R | undocumented | ||
C | undocumented | ||
V | undocumented | ||
Tp | TableBase.Types | TableBase.Types | undocumented |
Properties
amountRows
Returns the amount of rows in the builder.
amountRows
isEmpty
Returns true if there are no entries in the builder.
isEmpty
size
Returns the amount of entries in the builder.
size
Methods
addEntries
Adds the given entries
to the builder.
addEntries
entries
to the builder.addEntry
Adds the given entry
to the builder.
addEntry
entry
to the builder.build
Returns an immutable collection instance containing the entries in this builder.
build
buildMapValues
Returns an immutable collection instance containing the entries in this builder.
buildMapValues
forEach
Performs given function f
for each entry of the collection, using given state
as initial traversal state.
forEach
f
for each entry of the collection, using given state
as initial traversal state.get
Returns the value at given row
and column
keys, or the otherwise
value if no value is present.
get
row
and column
keys, or the otherwise
value if no value is present.getRow
Returns a map containing the column keys and values in the given row
.
getRow
row
.hasRowKey
Returns true if given row
key is in the builder.
hasRowKey
row
key is in the builder.hasValueAt
Returns true if the builder has a value for given row
and column
keys.
hasValueAt
row
and column
keys.modifyAt
Modifies the value at given row
and column
keys according to given options
.
modifyAt
row
and column
keys according to given options
.remove
Remove the value at given row
and column
keys in the builder.
remove
row
and column
keys in the builder.removeEntries
Removes all given entries
from the builder.
removeEntries
entries
from the builder.removeRow
Removes all values in the given row
from the builder.
removeRow
row
from the builder.removeRows
Removes all given rows
from the builder.
removeRows
rows
from the builder.set
Sets the given value
for the given row
and column
keys in the builder.
set
value
for the given row
and column
keys in the builder.updateAt
Updates the value at given row
and column
keys according to the given update
function.
updateAt
row
and column
keys according to the given update
function.