Package com.jogamp.common.os
Enum Platform.CPUType
- java.lang.Object
-
- java.lang.Enum<Platform.CPUType>
-
- com.jogamp.common.os.Platform.CPUType
-
- All Implemented Interfaces:
Serializable
,Comparable<Platform.CPUType>
- Enclosing class:
- Platform
public static enum Platform.CPUType extends Enum<Platform.CPUType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARM
ARM 32bit default, usually little endianARM64
ARM64 default (64bit), usually little endianARMv5
ARM7EJ, ARM9E, ARM10E, XScale, usually little endianARMv6
ARM11, usually little endianARMv7
ARM Cortex, usually little endianARMv8_A
ARM AArch64 (64bit), usually little endianIA64
Itanium 64bit default, little endianMIPS_32
MIPS 32bit, big endian (mips) or little endian (mipsel)MIPS_64
MIPS 64bit, big endian (mips64) or little endian (mipsel64) ?PA_RISC2_0
PA_RISC2_0 64bit, ??? endianPPC
PPC 32bit default, usually big endianPPC64
PPC 64bit default, usually big endianSPARC_32
SPARC 32bit, big endianSPARCV9_64
SPARC 64bit, big endianSuperH
Hitachi SuperH 32bit default, ??? endianX86_32
X86 32bit, little endianX86_64
X86 64bit, little endian
-
Field Summary
Fields Modifier and Type Field Description Platform.CPUFamily
family
boolean
is32Bit
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isCompatible(Platform.CPUType other)
Returnstrue
if the givenPlatform.CPUType
is compatible w/ this one, i.e.static Platform.CPUType
query(String cpuABILower)
static Platform.CPUType
valueOf(String name)
Returns the enum constant of this type with the specified name.static Platform.CPUType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ARM
public static final Platform.CPUType ARM
ARM 32bit default, usually little endian
-
ARMv5
public static final Platform.CPUType ARMv5
ARM7EJ, ARM9E, ARM10E, XScale, usually little endian
-
ARMv6
public static final Platform.CPUType ARMv6
ARM11, usually little endian
-
ARMv7
public static final Platform.CPUType ARMv7
ARM Cortex, usually little endian
-
X86_32
public static final Platform.CPUType X86_32
X86 32bit, little endian
-
PPC
public static final Platform.CPUType PPC
PPC 32bit default, usually big endian
-
MIPS_32
public static final Platform.CPUType MIPS_32
MIPS 32bit, big endian (mips) or little endian (mipsel)
-
SuperH
public static final Platform.CPUType SuperH
Hitachi SuperH 32bit default, ??? endian
-
SPARC_32
public static final Platform.CPUType SPARC_32
SPARC 32bit, big endian
-
ARM64
public static final Platform.CPUType ARM64
ARM64 default (64bit), usually little endian
-
ARMv8_A
public static final Platform.CPUType ARMv8_A
ARM AArch64 (64bit), usually little endian
-
X86_64
public static final Platform.CPUType X86_64
X86 64bit, little endian
-
PPC64
public static final Platform.CPUType PPC64
PPC 64bit default, usually big endian
-
MIPS_64
public static final Platform.CPUType MIPS_64
MIPS 64bit, big endian (mips64) or little endian (mipsel64) ?
-
IA64
public static final Platform.CPUType IA64
Itanium 64bit default, little endian
-
SPARCV9_64
public static final Platform.CPUType SPARCV9_64
SPARC 64bit, big endian
-
PA_RISC2_0
public static final Platform.CPUType PA_RISC2_0
PA_RISC2_0 64bit, ??? endian
-
-
Field Detail
-
family
public final Platform.CPUFamily family
-
is32Bit
public final boolean is32Bit
-
-
Method Detail
-
values
public static Platform.CPUType[] 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.CPUType c : Platform.CPUType.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.CPUType 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
-
isCompatible
public final boolean isCompatible(Platform.CPUType other)
Returnstrue
if the givenPlatform.CPUType
is compatible w/ this one, i.e. at leastfamily
andPlatform.is32Bit()
is equal.
-
query
public static final Platform.CPUType query(String cpuABILower)
-
-