public static enum Counter.CounterConfig extends java.lang.Enum<Counter.CounterConfig>
Enum Constant and Description |
---|
Alternating |
FallingEdge |
RisingEdge |
Modifier and Type | Method and Description |
---|---|
static Counter.CounterConfig |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Counter.CounterConfig[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Counter.CounterConfig RisingEdge
public static final Counter.CounterConfig FallingEdge
public static final Counter.CounterConfig Alternating
public static Counter.CounterConfig[] values()
for (Counter.CounterConfig c : Counter.CounterConfig.values()) System.out.println(c);
public static Counter.CounterConfig valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null