Enum Arch

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Arch>

    public enum Arch
    extends java.lang.Enum<Arch>
    • Enum Constant Detail

      • I386

        public static final Arch I386
      • AMD64

        public static final Arch AMD64
      • AMD64P32

        public static final Arch AMD64P32
      • ARM

        public static final Arch ARM
      • ARMBE

        public static final Arch ARMBE
      • ARM64

        public static final Arch ARM64
      • ARM64BE

        public static final Arch ARM64BE
      • PPC64

        public static final Arch PPC64
      • PPC64LE

        public static final Arch PPC64LE
      • MIPS

        public static final Arch MIPS
      • MIPSLE

        public static final Arch MIPSLE
      • MIPS64

        public static final Arch MIPS64
      • MIPS64LE

        public static final Arch MIPS64LE
      • MIPS64P32

        public static final Arch MIPS64P32
      • MIPS64P32LE

        public static final Arch MIPS64P32LE
      • PPC

        public static final Arch PPC
      • S390

        public static final Arch S390
      • S390X

        public static final Arch S390X
      • SPARC

        public static final Arch SPARC
      • SPARC64

        public static final Arch SPARC64
    • Method Detail

      • values

        public static Arch[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Arch c : Arch.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Arch valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Enum<Arch>
      • getHostArch

        public static Arch getHostArch()
      • of

        public static Arch of​(java.lang.String lowercase)