Skip to main content
Version: Java (Groovy)

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

ParameterTypeDescription
nameString

The name of the new column.

datachar...

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)
)