Enum Constant and Description |
---|
Array |
Expert |
FlagMask |
Mandatory |
None |
Modifier and Type | Method and Description |
---|---|
static DataFlags |
fromValue(long v) |
static DataFlags |
fromValue(java.lang.String v) |
int |
value() |
static DataFlags |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DataFlags[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataFlags None
public static final DataFlags Mandatory
public static final DataFlags Expert
public static final DataFlags Array
public static final DataFlags FlagMask
public static DataFlags[] values()
for (DataFlags c : DataFlags.values()) System.out.println(c);
public static DataFlags 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 int value()
public static DataFlags fromValue(long v)
public static DataFlags fromValue(java.lang.String v)