public enum KeystoneArchitecture extends Enum<KeystoneArchitecture> implements JnaEnum
| 枚举常量和说明 |
|---|
Arm
ARM architecture (including Thumb, Thumb-2).
|
Arm64
ARM-64, also called AArch64.
|
Evm
Ethereum Virtual Machine architecture.
|
Hexagon
Hexagon architecture
|
Max |
Mips
Mips architecture.
|
Ppc
PowerPC architecture (currently unsupported).
|
Sparc
Sparc architecture.
|
SystemZ
SystemZ architecture (S390X).
|
X86
X86 architecture (including x86 & x86-64).
|
| 限定符和类型 | 方法和说明 |
|---|---|
static KeystoneArchitecture |
fromValue(Integer value)
Converts an integer value into its corresponding enumeration value.
|
int |
value()
Retrieves the value of the enumeration, that corresponds to the value used in the enumeration in C.
|
static KeystoneArchitecture |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static KeystoneArchitecture[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final KeystoneArchitecture Arm
public static final KeystoneArchitecture Arm64
public static final KeystoneArchitecture Mips
public static final KeystoneArchitecture X86
public static final KeystoneArchitecture Ppc
public static final KeystoneArchitecture Sparc
public static final KeystoneArchitecture SystemZ
public static final KeystoneArchitecture Hexagon
public static final KeystoneArchitecture Evm
public static final KeystoneArchitecture Max
public static KeystoneArchitecture[] values()
for (KeystoneArchitecture c : KeystoneArchitecture.values()) System.out.println(c);
public static KeystoneArchitecture valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public static KeystoneArchitecture fromValue(Integer value)
The complexity of the conversion is θ(1).
value - The integer value.Copyright © 2022. All rights reserved.