public class ConstantColumnData
extends uk.ac.starlink.table.ColumnData
equals
and hashCode
methods are implemented
so that instances with the same values are equal to each other.Modifier and Type | Field and Description |
---|---|
static ConstantColumnData |
NAN
Instance with values of Double.NaN.
|
static ConstantColumnData |
ONE
Instance with values of 1.
|
static ConstantColumnData |
ZERO
Instance with values of 0.
|
Constructor and Description |
---|
ConstantColumnData(String name,
double value)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
int |
hashCode() |
Object |
readValue(long irow) |
public static final ConstantColumnData ZERO
public static final ConstantColumnData ONE
public static final ConstantColumnData NAN
public ConstantColumnData(String name, double value)
name
- column namevalue
- constant column valueCopyright © 2003-2025 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.