public class ObjectArrayColumn extends ArrayColumn
Constructor and Description |
---|
ObjectArrayColumn(ColumnInfo base,
Object[] data)
Constructs a new column backed by a given array of objects.
|
getArray, isWritable, makeColumn, makeColumn, makeColumn, readValue, storeValue
getColumnInfo, setColumnInfo
public ObjectArrayColumn(ColumnInfo base, Object[] data)
contentClass
of the given base column info must
be compatible with the supplied data array;
it should be the class of what the array is an array of.
Alternatively, the base
column info may have a
null
content class, in which case the column info for
the new column will be set appropriately from the data array.base
- the column info on which to base this column's infodata
- an array of primitives or objects which will form
the storage for this columnIllegalArgumentException
- if data
isn't an array or
base.getContentClass()
is incompatible with
data
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.