|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<MineralFrequencyType>
org.mars_sim.msp.config.model.types.MineralFrequencyType
public enum MineralFrequencyType
Enumeration MineralFrequencyType.
| Enum Constant Summary | |
|---|---|
COMMON
Constant COMMON |
|
RARE
Constant RARE |
|
UNCOMMON
Constant UNCOMMON |
|
VERY_RARE
Constant VERY_RARE |
|
| Method Summary | |
|---|---|
static MineralFrequencyType |
fromValue(String value)
Method fromValue. |
void |
setValue(String value)
|
String |
toString()
Method toString. |
String |
value()
Method value. |
static MineralFrequencyType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static MineralFrequencyType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final MineralFrequencyType COMMON
public static final MineralFrequencyType UNCOMMON
public static final MineralFrequencyType RARE
public static final MineralFrequencyType VERY_RARE
| Method Detail |
|---|
public static MineralFrequencyType[] values()
for (MineralFrequencyType c : MineralFrequencyType.values()) System.out.println(c);
public static MineralFrequencyType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic static MineralFrequencyType fromValue(String value)
value -
public void setValue(String value)
value - public String toString()
toString in class Enum<MineralFrequencyType>public String value()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||