longCol
The longCol
method creates a column containing Java primitive long values.
note
This method is commonly used with newTable
to create tables.
Syntax
longCol(name, data...)
Parameters
Parameter | Type | Description |
---|---|---|
name | String | The name of the new column. |
data | long... | The column values. |
Returns
A ColumnHolder
.
Example
The following examples use newTable
to create a table with a single column of longs named Longs
.
result = newTable(
longCol("Longs", 10000000, 987654321, -314159265)
)
- result