Package com.jogamp.common.os
Enum Platform.CPUFamily
- java.lang.Object
-
- java.lang.Enum<Platform.CPUFamily>
-
- com.jogamp.common.os.Platform.CPUFamily
-
- All Implemented Interfaces:
Serializable
,Comparable<Platform.CPUFamily>
- Enclosing class:
- Platform
public static enum Platform.CPUFamily extends Enum<Platform.CPUFamily>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Platform.CPUFamily
valueOf(String name)
Returns the enum constant of this type with the specified name.static Platform.CPUFamily[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
X86
public static final Platform.CPUFamily X86
AMD/Intel
-
ARM
public static final Platform.CPUFamily ARM
ARM
-
PPC
public static final Platform.CPUFamily PPC
Power PC
-
SPARC
public static final Platform.CPUFamily SPARC
SPARC
-
MIPS
public static final Platform.CPUFamily MIPS
Mips
-
PA_RISC
public static final Platform.CPUFamily PA_RISC
PA RISC
-
IA64
public static final Platform.CPUFamily IA64
Itanium
-
SuperH
public static final Platform.CPUFamily SuperH
Hitachi SuperH
-
-
Method Detail
-
values
public static Platform.CPUFamily[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Platform.CPUFamily c : Platform.CPUFamily.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Platform.CPUFamily valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-