public enum FuelPatchType extends Enum<FuelPatchType>
Modifier and Type | Field and Description |
---|---|
int |
value |
Modifier and Type | Method and Description |
---|---|
static FuelPatchType |
fromValue(int value) |
static FuelPatchType |
fromValue(String val) |
static FuelPatchType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FuelPatchType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FuelPatchType INVALID
public static final FuelPatchType FILE
public static final FuelPatchType POLYGON
public static final FuelPatchType LANDSCAPE
public static FuelPatchType[] values()
for (FuelPatchType c : FuelPatchType.values()) System.out.println(c);
public static FuelPatchType 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 static FuelPatchType fromValue(int value)
public static FuelPatchType fromValue(String val)
Copyright © 2022. All rights reserved.