public enum UnsafeMemory extends Enum<UnsafeMemory>
| Modifier and Type | Field and Description |
|---|---|
static boolean |
IS32BIT |
static boolean |
IS64BIT |
static sun.misc.Unsafe |
UNSAFE |
| Modifier and Type | Method and Description |
|---|---|
static UnsafeMemory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UnsafeMemory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final sun.misc.Unsafe UNSAFE
public static final boolean IS32BIT
public static final boolean IS64BIT
public static UnsafeMemory[] values()
for (UnsafeMemory c : UnsafeMemory.values()) System.out.println(c);
public static UnsafeMemory 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 © 2023. All rights reserved.