public enum MaskGenerator extends Enum<MaskGenerator>
| Enum Constant and Description |
|---|
MFG1 |
| Modifier and Type | Method and Description |
|---|---|
static MaskGenerator |
from(int code) |
static MaskGenerator |
from(String name) |
int |
getCode() |
String |
toString() |
static MaskGenerator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MaskGenerator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MaskGenerator MFG1
public static MaskGenerator[] values()
for (MaskGenerator c : MaskGenerator.values()) System.out.println(c);
public static MaskGenerator 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 getCode()
public String toString()
toString in class Enum<MaskGenerator>public static MaskGenerator from(String name) throws IllegalArgumentException
IllegalArgumentExceptionpublic static MaskGenerator from(int code) throws IllegalArgumentException
IllegalArgumentExceptionCopyright © 2022. All rights reserved.