Package com.kenai.jffi
Class Platform.ArchHolder
- java.lang.Object
-
- com.kenai.jffi.Platform.ArchHolder
-
- Enclosing class:
- Platform
private static final class Platform.ArchHolder extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static Platform.CPU
cpu
-
Constructor Summary
Constructors Modifier Constructor Description private
ArchHolder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static Platform.CPU
determineCPU()
Determines the CPU architecture the JVM is running on.
-
-
-
Field Detail
-
cpu
public static final Platform.CPU cpu
-
-
Method Detail
-
determineCPU
private static Platform.CPU determineCPU()
Determines the CPU architecture the JVM is running on. This normalizes all the variations that are equivalent (e.g. i386, x86, i86pc) into a common cpu type.- Returns:
- A member of the
CPU
enum.
-
-