public enum ChannelType extends Enum<ChannelType>
| Enum Constant and Description |
|---|
COUNTER
A particle count.
|
RELATIVE_HUMIDITY
A relative humidity.
|
TEMPERATURE
A temperature.
|
| Modifier and Type | Method and Description |
|---|---|
static ChannelType |
fromTypeLabel(String label)
Find the measurement type corresponding to a device type-label.
|
String |
toString()
Gets the text form of the channel type.
|
static ChannelType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChannelType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChannelType COUNTER
public static final ChannelType TEMPERATURE
public static final ChannelType RELATIVE_HUMIDITY
public static ChannelType[] values()
for (ChannelType c : ChannelType.values()) System.out.println(c);
public static ChannelType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<ChannelType>public static ChannelType fromTypeLabel(String label)
label - The data type label used by the counter.Copyright © 2018 LSST. All rights reserved.