Enum Constant and Description |
---|
BEFORE_RECORDS |
v7_2_0_pre_12 |
v8_0_0 |
Modifier and Type | Field and Description |
---|---|
static BCVersion |
CURRENT |
int |
dataVersion |
java.lang.String |
name |
Modifier and Type | Method and Description |
---|---|
static BCVersion |
getVersion(int version) |
static BCVersion |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BCVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BCVersion BEFORE_RECORDS
public static final BCVersion v7_2_0_pre_12
public static final BCVersion v8_0_0
public static final BCVersion CURRENT
public final int dataVersion
public final java.lang.String name
public static BCVersion[] values()
for (BCVersion c : BCVersion.values()) System.out.println(c);
public static BCVersion 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 static BCVersion getVersion(int version)