|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Platform.CPU>
jnr.ffi.Platform.CPU
public static enum Platform.CPU
The supported CPU architectures.
| Enum Constant Summary | |
|---|---|
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 |
|
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) |
|
| Method Summary | |
|---|---|
java.lang.String |
toString()
Returns a String object representing this CPU object. |
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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
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 MIPS32
public static final Platform.CPU ARM
public static final Platform.CPU UNKNOWN
| Method Detail |
|---|
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 name
java.lang.NullPointerException - if the argument is nullpublic java.lang.String toString()
String object representing this CPU object.
toString in class java.lang.Enum<Platform.CPU>String.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||