CellsDataTableFactory

CellsDataTableFactory class

Utility to build ICellsDataTable from custom objects for user’s convenience.

Methods

NameDescription
getInstance(vals, columnNames)Creates ICellsDataTable from given sequence of int values.
getInstance(vals, vertial)Creates ICellsDataTable from given sequence of int values.
getInstance(vals, columnNames)Creates ICellsDataTable from given sequence of double values.
getInstance(vals, vertial)Creates ICellsDataTable from given sequence of double values.
getInstance(vals, columnNames)Creates ICellsDataTable from given sequence of objects.
getInstance()
getInstance(vals, vertial)Creates ICellsDataTable from given sequence of objects.
getInstance(vals)Creates ICellsDataTable from given 2D array.
getInstance(vals)Creates ICellsDataTable from given 2D array.
getInstance(vals)Creates ICellsDataTable from given 2D array.
getInstance(collection)Creates ICellsDataTable from given collection.
getInstance()

getInstance(vals, columnNames)

Creates ICellsDataTable from given sequence of int values.

ParameterTypeDescription
valsArray of Numberint values to build table
columnNamesArray of StringColumn names of the table. Its length can only be either 1(build table by the int values vertically) or length of the int values(build table by the int values horizontally)

Returns: ICellsDataTable — ICellsDataTable Instance of ICellsDataTable

getInstance(vals, vertial)

Creates ICellsDataTable from given sequence of int values.

ParameterTypeDescription
valsArray of Numberint values to build table
vertialbooleanwhether build table by the int values vertiacally(true) or horizontally(false)

Returns: ICellsDataTable — ICellsDataTable Instance of ICellsDataTable

getInstance(vals, columnNames)

Creates ICellsDataTable from given sequence of double values.

ParameterTypeDescription
valsArray of Numberdouble values to build table
columnNamesArray of StringColumn names of the table. Its length can only be either 1(build table by the double values vertically) or length of the double values(build table by the double values horizontally)

Returns: ICellsDataTable — ICellsDataTable Instance of ICellsDataTable

getInstance(vals, vertial)

Creates ICellsDataTable from given sequence of double values.

ParameterTypeDescription
valsArray of Numberdouble values to build table
vertialbooleanwhether build table by the double values vertiacally(true) or horizontally(false)

Returns: ICellsDataTable — ICellsDataTable Instance of ICellsDataTable

getInstance(vals, columnNames)

Creates ICellsDataTable from given sequence of objects.

ParameterTypeDescription
valsArray of Objectobjects to build table
columnNamesArray of StringColumn names of the table. Its length can only be either 1(build table by the objects vertically) or length of the objects(build table by the objects horizontally)

Returns: ICellsDataTable — ICellsDataTable Instance of ICellsDataTable

getInstance()

getInstance(vals, vertial)

Creates ICellsDataTable from given sequence of objects.

ParameterTypeDescription
valsArray of Objectobjects to build table
vertialbooleanwhether build table by the objects vertiacally(true) or horizontally(false)

Returns: ICellsDataTable — ICellsDataTable Instance of ICellsDataTable

getInstance(vals)

Creates ICellsDataTable from given 2D array.

ParameterTypeDescription
valsArray of Array of intint values to build table

Returns: ICellsDataTable — ICellsDataTable Instance of ICellsDataTable

getInstance(vals)

Creates ICellsDataTable from given 2D array.

ParameterTypeDescription
valsArray of Array of doubledouble values to build table

Returns: ICellsDataTable — ICellsDataTable Instance of ICellsDataTable

getInstance(vals)

Creates ICellsDataTable from given 2D array.

ParameterTypeDescription
valsArray of Array of Objectobjects to build table

Returns: ICellsDataTable — ICellsDataTable Instance of ICellsDataTable

getInstance(collection)

Creates ICellsDataTable from given collection.

ParameterTypeDescription
collectionCollectionthe collection to build table

Returns: ICellsDataTable — ICellsDataTable Instance of ICellsDataTable

getInstance()