public static enum CustomBookMeta.Generation extends Enum<CustomBookMeta.Generation>
Enum Constant and Description |
---|
COPY_OF_COPY |
COPY_OF_ORIGINAL |
ORIGINAL |
TATTERED |
Modifier and Type | Method and Description |
---|---|
static CustomBookMeta.Generation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CustomBookMeta.Generation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CustomBookMeta.Generation ORIGINAL
public static final CustomBookMeta.Generation COPY_OF_ORIGINAL
public static final CustomBookMeta.Generation COPY_OF_COPY
public static final CustomBookMeta.Generation TATTERED
public static CustomBookMeta.Generation[] values()
for (CustomBookMeta.Generation c : CustomBookMeta.Generation.values()) System.out.println(c);
public static CustomBookMeta.Generation 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 nullCopyright © 2017. All rights reserved.