public static enum QEmuMemoryOption.Magnitude extends Enum<QEmuMemoryOption.Magnitude>
Modifier and Type | Method and Description |
---|---|
long |
toUnit(long amount) |
static QEmuMemoryOption.Magnitude |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QEmuMemoryOption.Magnitude[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QEmuMemoryOption.Magnitude UNIT
public static final QEmuMemoryOption.Magnitude KILO
public static final QEmuMemoryOption.Magnitude MEGA
public static final QEmuMemoryOption.Magnitude GIGA
public static final QEmuMemoryOption.Magnitude TERA
public static final QEmuMemoryOption.Magnitude PETA
public static QEmuMemoryOption.Magnitude[] values()
for (QEmuMemoryOption.Magnitude c : QEmuMemoryOption.Magnitude.values()) System.out.println(c);
public static QEmuMemoryOption.Magnitude 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 long toUnit(long amount)