public static enum Memory.Unit extends java.lang.Enum<Memory.Unit>
Modifier and Type | Field and Description |
---|---|
long |
div |
Modifier and Type | Method and Description |
---|---|
static Memory.Unit |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Memory.Unit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Memory.Unit U
public static final Memory.Unit K
public static final Memory.Unit M
public static final Memory.Unit G
public static Memory.Unit[] values()
for (Memory.Unit c : Memory.Unit.values()) System.out.println(c);
public static Memory.Unit 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 null