public static enum Platform.CPU extends Enum<Platform.CPU>
Enum Constant and Description |
---|
AARCH64
64 bit ARM
|
ARM
32 bit ARM
|
I386
32 bit legacy Intel
|
MIPS32
32 bit MIPS (used by nestedvm)
|
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
|
UNKNOWN
Unknown CPU architecture.
|
X86_64
64 bit AMD (aka EM64T/X64)
|
Modifier and Type | Method and Description |
---|---|
String |
toString()
Returns a
String object representing this CPU object. |
static Platform.CPU |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Platform.CPU[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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 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
- 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()
String
object representing this CPU
object.toString
in class Enum<Platform.CPU>
String
.Copyright © 2017. All rights reserved.