shortCol
The shortCol method creates a column containing Java primitive short values.
Note
This method is commonly used with newTable to create tables.
Syntax
Parameters
| Parameter | Type | Description |
|---|---|---|
| name | String | The name of the new column. |
| data | short... | The column values. |
Returns
A ColumnHolder.
Example
The following examples use newTable to create a table with a single column of shorts named Shorts.