Enum Processor.Type

java.lang.Object
java.lang.Enum<Processor.Type>
org.apache.commons.lang3.arch.Processor.Type
All Implemented Interfaces:
Serializable, Comparable<Processor.Type>
Enclosing class:
Processor

public static enum Processor.Type extends Enum<Processor.Type>
The Processor.Type enum defines types of a microprocessor. The following types are defined:
  • AArch64
  • x86
  • ia64
  • PPC
  • RISCV
  • Unknown
  • Enum Constant Details

  • Method Details

    • values

      public static Processor.Type[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Processor.Type valueOf(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getLabel

      public String getLabel()
      Gets the label suitable for display.
      Returns:
      the label.
      Since:
      3.13.0