public static enum MemAllocation.type extends Enum<MemAllocation.type>
| Enum Constant and Description |
|---|
NO_PREALLOCATE |
PREALLOCATE |
| Modifier and Type | Field and Description |
|---|---|
int |
value |
| Modifier and Type | Method and Description |
|---|---|
MemAllocation.type |
intern() |
String |
toString() |
static MemAllocation.type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MemAllocation.type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MemAllocation.type PREALLOCATE
public static final MemAllocation.type NO_PREALLOCATE
public static MemAllocation.type[] values()
for (MemAllocation.type c : MemAllocation.type.values()) System.out.println(c);
public static MemAllocation.type 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 MemAllocation.type intern()
public String toString()
toString in class Enum<MemAllocation.type>Copyright © 2021. All rights reserved.