public enum AllocationKind extends Enum<AllocationKind>
Enum Constant and Description |
---|
CONSTANT
Allocations that will be never released, and reused during session
|
GENERAL
General allocations
|
WORKSPACE
Allocations for workspaces
|
Modifier and Type | Method and Description |
---|---|
static AllocationKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AllocationKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AllocationKind GENERAL
public static final AllocationKind CONSTANT
public static final AllocationKind WORKSPACE
public static AllocationKind[] values()
for (AllocationKind c : AllocationKind.values()) System.out.println(c);
public static AllocationKind 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. All rights reserved.