intCol
The intCol method creates a column containing Java primitive integer values.
Note
This method is commonly used with newTable to create tables.
Important
Integer columns do not support infinite and not-a-number (NaN) values.
Syntax
Parameters
| Parameter | Type | Description |
|---|---|---|
| name | String | The name of the new column. |
| data | int... | The column values. |
Returns
A ColumnHolder.
Example
The following examples use newTable to create a table with a single column of integers named Integers.