public static enum Platform.CPU extends Enum<Platform.CPU>
枚举常量和说明 |
---|
AARCH64
64 bit ARM
|
ARM
32 bit ARM
|
I386
32 bit legacy Intel
|
MIPS32
32 bit MIPS (used by nestedvm)
|
MIPS64EL
64 bit MIPS
|
PPC
32 bit Power PC
|
PPC64
64 bit Power PC
|
PPC64LE
64 bit Power PC little endian
|
S390X
IBM zSeries S/390
|
SPARC
32 bit Sun sparc
|
SPARCV9
64 bit Sun sparc
|
SW_64 |
UNKNOWN
Unknown CPU architecture.
|
X86_64
64 bit AMD (aka EM64T/X64)
|
限定符和类型 | 方法和说明 |
---|---|
String |
toString()
Returns a
String object representing this CPU object. |
static Platform.CPU |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static Platform.CPU[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final Platform.CPU I386
public static final Platform.CPU X86_64
public static final Platform.CPU PPC
public static final Platform.CPU PPC64
public static final Platform.CPU PPC64LE
public static final Platform.CPU SPARC
public static final Platform.CPU SPARCV9
public static final Platform.CPU S390X
public static final Platform.CPU MIPS32
public static final Platform.CPU ARM
public static final Platform.CPU AARCH64
public static final Platform.CPU MIPS64EL
public static final Platform.CPU SW_64
public static final Platform.CPU UNKNOWN
public static Platform.CPU[] values()
for (Platform.CPU c : Platform.CPU.values()) System.out.println(c);
public static Platform.CPU valueOf(String name)
name
- 要返回的枚举常量的名称。IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量NullPointerException
- 如果参数为空值public String toString()
String
object representing this CPU
object.toString
在类中 Enum<Platform.CPU>
String
.Copyright © 2021. All rights reserved.