Package org.apache.commons.lang3.arch
Enum Processor.Type
- All Implemented Interfaces:
Serializable
,Comparable<Processor.Type>
- Enclosing class:
- Processor
The
Processor.Type
enum defines types of a microprocessor.
The following types are defined:
- AArch64
- x86
- ia64
- PPC
- RISCV
- Unknown
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptiongetLabel()
Gets the label suitable for display.static Processor.Type
Returns the enum constant of this type with the specified name.static Processor.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
AARCH_64
ARM 64-bit.- Since:
- 3.13.0
-
X86
Intel x86 series of instruction set architectures. -
IA_64
Intel Itanium 64-bit architecture. -
PPC
Apple–IBM–Motorola PowerPC architecture. -
RISC_V
RISC-V architecture.- Since:
- 3.14.0
-
UNKNOWN
Unknown architecture.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getLabel
Gets the label suitable for display.- Returns:
- the label.
- Since:
- 3.13.0
-