public static enum Platform.CPUType extends Enum<Platform.CPUType>
Enum Constant and Description |
---|
ARM
ARM 32bit default, usually little endian
|
ARM64
ARM64 default (64bit), usually little endian
|
ARMv5
ARM7EJ, ARM9E, ARM10E, XScale, usually little endian
|
ARMv6
ARM11, usually little endian
|
ARMv7
ARM Cortex, usually little endian
|
ARMv8_A
ARM AArch64 (64bit), usually little endian
|
IA64
Itanium 64bit default, little endian
|
MIPS_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, ??? endian
|
PPC
PPC 32bit default, usually big endian
|
PPC64
PPC 64bit default, usually big endian
|
SPARC_32
SPARC 32bit, big endian
|
SPARCV9_64
SPARC 64bit, big endian
|
SuperH
Hitachi SuperH 32bit default, ??? endian
|
X86_32
X86 32bit, little endian
|
X86_64
X86 64bit, little endian
|
Modifier and Type | Field and Description |
---|---|
Platform.CPUFamily |
family |
boolean |
is32Bit |
Modifier and Type | Method and Description |
---|---|
boolean |
isCompatible(Platform.CPUType other)
Returns
true if the given Platform.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.
|
public static final Platform.CPUType ARM
public static final Platform.CPUType ARMv5
public static final Platform.CPUType ARMv6
public static final Platform.CPUType ARMv7
public static final Platform.CPUType X86_32
public static final Platform.CPUType PPC
public static final Platform.CPUType MIPS_32
public static final Platform.CPUType SuperH
public static final Platform.CPUType SPARC_32
public static final Platform.CPUType ARM64
public static final Platform.CPUType ARMv8_A
public static final Platform.CPUType X86_64
public static final Platform.CPUType PPC64
public static final Platform.CPUType MIPS_64
public static final Platform.CPUType IA64
public static final Platform.CPUType SPARCV9_64
public static final Platform.CPUType PA_RISC2_0
public final Platform.CPUFamily family
public final boolean is32Bit
public static Platform.CPUType[] values()
for (Platform.CPUType c : Platform.CPUType.values()) System.out.println(c);
public static Platform.CPUType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic final boolean isCompatible(Platform.CPUType other)
true
if the given Platform.CPUType
is compatible
w/ this one, i.e. at least family
and Platform.is32Bit()
is equal.public static final Platform.CPUType query(String cpuABILower)