public enum GcTerrain extends Enum<GcTerrain>
| Enum Constant and Description |
|---|
T1 |
T1_5 |
T2 |
T2_5 |
T3 |
T3_5 |
T4 |
T4_5 |
T5 |
| Modifier and Type | Method and Description |
|---|---|
float |
getCode() |
static List<GcTerrain> |
reverseValues() |
String |
toString() |
static GcTerrain |
valueOf(float code) |
static GcTerrain |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GcTerrain[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GcTerrain T1
public static final GcTerrain T1_5
public static final GcTerrain T2
public static final GcTerrain T2_5
public static final GcTerrain T3
public static final GcTerrain T3_5
public static final GcTerrain T4
public static final GcTerrain T4_5
public static final GcTerrain T5
public static GcTerrain[] values()
for (GcTerrain c : GcTerrain.values()) System.out.println(c);
public static GcTerrain 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 float getCode()
public static GcTerrain valueOf(float code)
Copyright © 2017 Ultreia.io. All rights reserved.