public class ConstantColumn extends ColumnData
Constructor and Description |
---|
ConstantColumn(ColumnInfo colinfo,
Object value)
Constructs a new column with a given metadata object and constant
datum.
|
Modifier and Type | Method and Description |
---|---|
Object |
readValue(long irow)
Returns the value stored at a given row in this column.
|
getColumnInfo, isWritable, setColumnInfo, storeValue
public ConstantColumn(ColumnInfo colinfo, Object value)
colinfo
- column metadatavalue
- value to be found in every cell of this columnpublic Object readValue(long irow)
ColumnData
readValue
in class ColumnData
irow
- the row from which to retrieve the valueirow
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.