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.CPUcpu
-
Constructor Summary
Constructors Modifier Constructor Description privateArchHolder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static Platform.CPUdetermineCPU()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
CPUenum.
-
-