public enum AllocationState extends Enum<AllocationState>
Enum Constant and Description |
---|
ALLOCATED |
ALLOCATED_FROM_RESERVED |
DEFAULT |
RESERVED |
SKIPPED |
Modifier and Type | Method and Description |
---|---|
static AllocationState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AllocationState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AllocationState DEFAULT
public static final AllocationState SKIPPED
public static final AllocationState ALLOCATED
public static final AllocationState ALLOCATED_FROM_RESERVED
public static final AllocationState RESERVED
public static AllocationState[] values()
for (AllocationState c : AllocationState.values()) System.out.println(c);
public static AllocationState 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 © 2022 Apache Software Foundation. All rights reserved.