charCol
The charCol
method creates a column containing Java primitive character values.
note
This method is commonly used with newTable
to create tables.
Syntax
charCol(name, data...)
Parameters
Parameter | Type | Description |
---|---|---|
name | String | The name of the new column. |
data | char... | The column values. |
Returns
A ColumnHolder
.
Example
The following examples use newTable
to create a table with a single column of characters named Chars
.
result = newTable(
charCol("Chars", 'a' as char, 'b' as char)
)
- result