public enum AllocationStatus extends Enum<AllocationStatus>
Enum Constant and Description |
---|
CONSTANT |
DEALLOCATED |
DELAYED |
DEVICE |
HOST |
UNDEFINED |
Modifier and Type | Method and Description |
---|---|
static AllocationStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AllocationStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AllocationStatus UNDEFINED
public static final AllocationStatus HOST
public static final AllocationStatus DEVICE
public static final AllocationStatus DELAYED
public static final AllocationStatus DEALLOCATED
public static final AllocationStatus CONSTANT
public static AllocationStatus[] values()
for (AllocationStatus c : AllocationStatus.values()) System.out.println(c);
public static AllocationStatus 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 nullCopyright © 2016. All Rights Reserved.