public enum MclFlag extends Enum<MclFlag>
| Enum Constant and Description |
|---|
MclCurrent |
MclCurrentOnFault |
MclFuture |
MclFutureOnFault |
| Modifier and Type | Method and Description |
|---|---|
int |
code()
This method is a getter for the code instance variable.
|
static MclFlag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MclFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MclFlag MclCurrent
public static final MclFlag MclFuture
public static final MclFlag MclCurrentOnFault
public static final MclFlag MclFutureOnFault
public static MclFlag[] values()
for (MclFlag c : MclFlag.values()) System.out.println(c);
public static MclFlag 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 int code()
Copyright © 2024. All rights reserved.