Class 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ArchHolder

        private ArchHolder()
    • 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.