public static enum RestrictHeapAccess.Access extends Enum<RestrictHeapAccess.Access>
Enum Constant and Description |
---|
NO_ALLOCATION |
NO_HEAP_ACCESS |
UNRESTRICTED |
Modifier and Type | Method and Description |
---|---|
boolean |
isMoreRestrictiveThan(RestrictHeapAccess.Access other) |
static RestrictHeapAccess.Access |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RestrictHeapAccess.Access[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RestrictHeapAccess.Access UNRESTRICTED
public static final RestrictHeapAccess.Access NO_ALLOCATION
public static final RestrictHeapAccess.Access NO_HEAP_ACCESS
public static RestrictHeapAccess.Access[] values()
public static RestrictHeapAccess.Access 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 boolean isMoreRestrictiveThan(RestrictHeapAccess.Access other)