public static enum NIVision.TwoEdgePolarityType extends java.lang.Enum<NIVision.TwoEdgePolarityType>
Enum Constant and Description |
---|
FALLING_FALLING |
FALLING_RISING |
NONE |
RISING_FALLING |
RISING_RISING |
Modifier and Type | Method and Description |
---|---|
static NIVision.TwoEdgePolarityType |
fromValue(int val) |
int |
getValue() |
static NIVision.TwoEdgePolarityType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NIVision.TwoEdgePolarityType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NIVision.TwoEdgePolarityType NONE
public static final NIVision.TwoEdgePolarityType RISING_FALLING
public static final NIVision.TwoEdgePolarityType FALLING_RISING
public static final NIVision.TwoEdgePolarityType RISING_RISING
public static final NIVision.TwoEdgePolarityType FALLING_FALLING
public static NIVision.TwoEdgePolarityType[] values()
for (NIVision.TwoEdgePolarityType c : NIVision.TwoEdgePolarityType.values()) System.out.println(c);
public static NIVision.TwoEdgePolarityType 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 nullpublic static NIVision.TwoEdgePolarityType fromValue(int val)
public int getValue()