Package com.kenai.jffi
Enum Class Platform.CPU
- All Implemented Interfaces:
Serializable
,Comparable<Platform.CPU>
,Constable
- Enclosing class:
- Platform
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 Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontoString()
static Platform.CPU
Returns the enum constant of this class with the specified name.static Platform.CPU[]
values()
Returns an array containing the constants of this enum class, 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
MIPS64EL -
UNKNOWN
Unknown CPU
-
-
Field Details
-
dataModel
public final int dataModel -
addressMask
public final long addressMask
-
-
Constructor Details
-
CPU
private CPU(int dataModel)
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
- Overrides:
toString
in classEnum<Platform.CPU>
-