Package com.jogamp.common.os
Enum Platform.CPUType
- All Implemented Interfaces:
Serializable,Comparable<Platform.CPUType>,java.lang.constant.Constable
- Enclosing class:
- Platform
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionARM 32bit default, usually little endianARM64 default (64bit), usually little endianARM7EJ, ARM9E, ARM10E, XScale, usually little endianARM11, usually little endianARM Cortex, usually little endianARM AArch64 (64bit), usually little endianItanium 64bit default, little endianMIPS 32bit, big endian (mips) or little endian (mipsel)MIPS 64bit, big endian (mips64) or little endian (mipsel64) ?PA_RISC2_0 64bit, ??? endianPPC 32bit default, usually big endianPPC 64bit default, usually big endianRISCV64 64bit, little endianS390X 64bit big endianSPARC 32bit, big endianSPARC 64bit, big endianHitachi SuperH 32bit default, ??? endianX86 32bit, little endianX86 64bit, little endian -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanisCompatible(Platform.CPUType other) Returnstrueif the givenPlatform.CPUTypeis compatible w/ this one, i.e.static final Platform.CPUTypestatic Platform.CPUTypeReturns 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 Details
-
ARM
ARM 32bit default, usually little endian -
ARMv5
ARM7EJ, ARM9E, ARM10E, XScale, usually little endian -
ARMv6
ARM11, usually little endian -
ARMv7
ARM Cortex, usually little endian -
X86_32
X86 32bit, little endian -
PPC
PPC 32bit default, usually big endian -
MIPS_32
MIPS 32bit, big endian (mips) or little endian (mipsel) -
SuperH
Hitachi SuperH 32bit default, ??? endian -
SPARC_32
SPARC 32bit, big endian -
ARM64
ARM64 default (64bit), usually little endian -
ARMv8_A
ARM AArch64 (64bit), usually little endian -
X86_64
X86 64bit, little endian -
PPC64
PPC 64bit default, usually big endian -
RISCV_64
RISCV64 64bit, little endian -
MIPS_64
MIPS 64bit, big endian (mips64) or little endian (mipsel64) ? -
IA64
Itanium 64bit default, little endian -
SPARCV9_64
SPARC 64bit, big endian -
PA_RISC2_0
PA_RISC2_0 64bit, ??? endian -
S390X
S390X 64bit big endian
-
-
Field Details
-
family
-
is32Bit
public final boolean is32Bit
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
Returnstrueif the givenPlatform.CPUTypeis compatible w/ this one, i.e. at leastfamilyandPlatform.is32Bit()is equal. -
query
-