
public enum InstrumentChannel extends Enum<InstrumentChannel>
| Enum Constant and Description |
|---|
COUNTER_0_3
The count of all particles of size 0.3 microns or larger.
|
COUNTER_0_5
The count of all particles of size 0.5 microns or larger.
|
COUNTER_1_0
The count of all particles of size 1.0 microns or larger.
|
COUNTER_10_0
The count of all particles of size 10.0 microns or larger.
|
COUNTER_2_5
The count of all particles of size 2.5 microns or larger.
|
COUNTER_3_0
The count of all particles of size 3.0 microns or larger.
|
COUNTER_5_0
The count of all particles of size 5.0 microns or larger.
|
HUMIDITY
The relative humidity expressed as a percentage.
|
TEMPERATURE
The temperature in degrees Fahrenheit.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getKey()
Gets the trending key used to identify the channel.
|
boolean |
isParticleChannel()
Determines whether a channel is a particle count.
|
static Optional<InstrumentChannel> |
parse(String key)
Converts a trending key string into the corresponding channel.
|
static InstrumentChannel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InstrumentChannel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InstrumentChannel COUNTER_0_3
public static final InstrumentChannel COUNTER_0_5
public static final InstrumentChannel COUNTER_1_0
public static final InstrumentChannel COUNTER_2_5
public static final InstrumentChannel COUNTER_3_0
public static final InstrumentChannel COUNTER_5_0
public static final InstrumentChannel COUNTER_10_0
public static final InstrumentChannel TEMPERATURE
public static final InstrumentChannel HUMIDITY
public static InstrumentChannel[] values()
for (InstrumentChannel c : InstrumentChannel.values()) System.out.println(c);
public static InstrumentChannel 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 getKey()
public boolean isParticleChannel()
public static Optional<InstrumentChannel> parse(String key)
key - The trending key.Copyright © 2019 LSST. All rights reserved.