Enum Constant and Description |
---|
MB1024 |
MB128 |
MB1536 |
MB2048 |
MB256 |
MB4096 |
MB512 |
MB768 |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getJVMString() |
int |
getMegabytes() |
static RamOption |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RamOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RamOption MB128
public static final RamOption MB256
public static final RamOption MB512
public static final RamOption MB768
public static final RamOption MB1024
public static final RamOption MB1536
public static final RamOption MB2048
public static final RamOption MB4096
public static RamOption[] values()
for (RamOption c : RamOption.values()) System.out.println(c);
public static RamOption 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 int getMegabytes()
public java.lang.String getJVMString()