public static enum NIVision.DetectionMode extends Enum<NIVision.DetectionMode>
Enum Constant and Description |
---|
DETECT_PEAKS |
DETECT_VALLEYS |
Modifier and Type | Method and Description |
---|---|
static NIVision.DetectionMode |
fromValue(int val) |
int |
getValue() |
static NIVision.DetectionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NIVision.DetectionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NIVision.DetectionMode DETECT_PEAKS
public static final NIVision.DetectionMode DETECT_VALLEYS
public static NIVision.DetectionMode[] values()
for (NIVision.DetectionMode c : NIVision.DetectionMode.values()) System.out.println(c);
public static NIVision.DetectionMode 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 static NIVision.DetectionMode fromValue(int val)
public int getValue()
Copyright © 2015. All rights reserved.