interface HashTableSortedColumn.NonEmpty<R,C,V>
A non-empty 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 HashTableSortedColumn API documentation
Extends: Streamable.NonEmpty<T>
, HashTableSortedColumn<R,C,V>
Type parameters
Name | Description |
---|---|
R | the row key type |
C | the column key type |
V | the value type |
note
- The HashTableSortedColumn uses a HashMap to map row keys to column. - The HashTableSortedColumn uses SortedMaps to map column keys to values.
example
const t1 = HashTableSortedColumn.empty<number, string, boolean>()
const t2 = HashTableSortedColumn.of([1, 'a', true], [2, 'a', false])
Methods
stream
Returns a non-empty Stream
of the elements in this collection.
stream
Stream
of the elements in this collection.