Enum Constant | Description |
---|---|
CORNER |
Used when saving a structure for easy size calculation.
|
DATA |
Used to run specific custom functions, which can only be used for certain
Structures.
|
LOAD |
The mode used when loading a structure.
|
SAVE |
The mode used when saving a structure.
|
Modifier and Type | Method | Description |
---|---|---|
static UsageMode |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static UsageMode[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UsageMode SAVE
public static final UsageMode LOAD
public static final UsageMode CORNER
SAVE
.public static UsageMode[] values()
for (UsageMode c : UsageMode.values()) System.out.println(c);
public static UsageMode 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 nullCopyright © 2018. All rights reserved.