public static enum PowerValue.ChannelMode extends Enum<PowerValue.ChannelMode>
| Modifier and Type | Method and Description |
|---|---|
static PowerValue.ChannelMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PowerValue.ChannelMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PowerValue.ChannelMode Power
public static final PowerValue.ChannelMode Counter
public static PowerValue.ChannelMode[] values()
for (PowerValue.ChannelMode c : PowerValue.ChannelMode.values()) System.out.println(c);
public static PowerValue.ChannelMode 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 nullCopyright © 2018 BITPlan GmbH. All rights reserved.