public static enum Platform.CPU extends java.lang.Enum<Platform.CPU>
Enum Constant and Description |
---|
I386
Intel ia32
|
PPC
Power PC 32 bit
|
PPC64
Power PC 64 bit
|
S390X
IBM zSeries S/390 64 bit
|
SPARC
Sun sparc 32 bit
|
SPARCV9
Sun sparc 64 bit
|
UNKNOWN
Unknown CPU
|
X86_64
AMD 64 bit (aka EM64T/X64)
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
static Platform.CPU |
valueOf(java.lang.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 SPARC
public static final Platform.CPU SPARCV9
public static final Platform.CPU S390X
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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<Platform.CPU>