Package com.kenai.jffi.internal
Enum StubLoader.CPU
- All Implemented Interfaces:
Serializable
,Comparable<StubLoader.CPU>
,java.lang.constant.Constable
- Enclosing class:
- StubLoader
The common names of cpu architectures.
Note The names of the enum values are used in other parts of the
code to determine where to find the native stub library. Do not rename.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAArch64ARMIntel ia32MIPS 64-bit little endianPower PC 32 bitPower PC 64 bitPower PC 64 bit little endianIBM zSeries S/390 64 bitSun sparc 32 bitSun sparc 64 bitUnknown CPUAMD 64 bit (aka EM64T/X64) -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontoString()
static StubLoader.CPU
Returns the enum constant of this type with the specified name.static StubLoader.CPU[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
I386
Intel ia32 -
X86_64
AMD 64 bit (aka EM64T/X64) -
PPC
Power PC 32 bit -
PPC64
Power PC 64 bit -
PPC64LE
Power PC 64 bit little endian -
SPARC
Sun sparc 32 bit -
SPARCV9
Sun sparc 64 bit -
S390X
IBM zSeries S/390 64 bit -
ARM
ARM -
AARCH64
AArch64 -
MIPS64EL
MIPS 64-bit little endian -
UNKNOWN
Unknown CPU
-
-
Constructor Details
-
CPU
private CPU()
-
-
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
-
toString
- Overrides:
toString
in classEnum<StubLoader.CPU>
-