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