public final class ChannelDatum extends Object implements Serializable
| Constructor and Description |
|---|
ChannelDatum(DataChannel channel,
double value)
Constructs an instance from the field values.
|
| Modifier and Type | Method and Description |
|---|---|
DataChannel |
getChannel()
Gets which channel the data value came from.
|
double |
getValue()
Gets the value of the channel.
|
String |
toString()
Returns a string representation of the channel datum.
|
public ChannelDatum(DataChannel channel, double value)
channel - See getChannel().value - See getValue().public DataChannel getChannel()
public double getValue()
public String toString()
toString in class ObjectDataRecord.toString()Copyright © 2016 LSST. All rights reserved.