Package com.kenai.jffi
Class Platform.ArchHolder
java.lang.Object
com.kenai.jffi.Platform.ArchHolder
- Enclosing class:
- Platform
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static Platform.CPU
Determines the CPU architecture the JVM is running on.
-
Field Details
-
cpu
-
-
Constructor Details
-
ArchHolder
private ArchHolder()
-
-
Method Details
-
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.
-