public static enum Platform.CPU_TYPE extends java.lang.Enum<Platform.CPU_TYPE>
| Enum Constant and Description |
|---|
I386 |
POWERPC |
POWERPC64 |
S390X |
SPARC |
SPARCV9 |
UNKNOWN |
X86_64 |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString() |
static Platform.CPU_TYPE |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Platform.CPU_TYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Platform.CPU_TYPE I386
public static final Platform.CPU_TYPE X86_64
public static final Platform.CPU_TYPE POWERPC
public static final Platform.CPU_TYPE POWERPC64
public static final Platform.CPU_TYPE SPARC
public static final Platform.CPU_TYPE SPARCV9
public static final Platform.CPU_TYPE S390X
public static final Platform.CPU_TYPE UNKNOWN
public static Platform.CPU_TYPE[] values()
for (Platform.CPU_TYPE c : Platform.CPU_TYPE.values()) System.out.println(c);
public static Platform.CPU_TYPE 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_TYPE>Copyright © 2002-2009 JRuby Team. All Rights Reserved.