Skip to main content

interface SortedTableSortedColumn<R,C,V>

A type-invariant immutable Table of row key type R, column key type C, and value type V. In the Table, a combination of a row and column key has exactly one value. See the Table documentation and the SortedTableSortedColumn API documentation

Companion namespace: SortedTableSortedColumn

Type parameters

NameDescription
Rthe row key type
Cthe column key type
Vthe value type
note
  • The SortedTableSortedColumn uses a SortedhMap to map row keys to column. - The SortedTableSortedColumn uses SortedMaps to map column keys to values.
example
const t1 = SortedTableSortedColumn.empty<number, string, boolean>()
const t2 = SortedTableSortedColumn.of([1, 'a', true], [2, 'a', false])