public static enum InternalResource.CPUArchitecture extends Enum<InternalResource.CPUArchitecture>
Enum.EnumDesc<E extends Enum<E>>| Enum Constant and Description |
|---|
AARCH64
The ARMv8 64-bit architecture.
|
AMD64
The x86 64-bit architecture.
|
| Modifier and Type | Method and Description |
|---|---|
static InternalResource.CPUArchitecture |
getCurrent()
Returns the current CPU architecture.
|
String |
toString()
Returns the string representing CPU architecture name.
|
static InternalResource.CPUArchitecture |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InternalResource.CPUArchitecture[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, valueOfpublic static final InternalResource.CPUArchitecture AARCH64
public static final InternalResource.CPUArchitecture AMD64
public static InternalResource.CPUArchitecture[] values()
public static InternalResource.CPUArchitecture 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 String toString()
toString in class Enum<InternalResource.CPUArchitecture>public static InternalResource.CPUArchitecture getCurrent()