Processor represents a microprocessor and defines
some properties like architecture and type of the microprocessor.
| Modifier and Type | Class and Description |
|---|---|
| public static enum | Processor.
The |
| public static enum | Processor.
The |
| Modifier and Type | Field and Description |
|---|---|
| private final Processor. | |
| private final Processor. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Processor. | |
| public Processor. | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public String |
| arch | back to summary |
|---|---|
| private final Processor. | |
| type | back to summary |
|---|---|
| private final Processor. | |
| Processor | back to summary |
|---|---|
| public Processor(final Processor. Constructs a | |
| getArch | back to summary |
|---|---|
| public Processor. Gets the processor architecture as an | |
| getType | back to summary |
|---|---|
| public Processor. Gets the processor type as | |
| is32Bit | back to summary |
|---|---|
| public boolean is32Bit() Tests if
| |
| is64Bit | back to summary |
|---|---|
| public boolean is64Bit() Tests if
| |
| isAarch64 | back to summary |
|---|---|
| public boolean isAarch64() Tests if
| |
| isIA64 | back to summary |
|---|---|
| public boolean isIA64() Tests if
| |
| isPPC | back to summary |
|---|---|
| public boolean isPPC() Tests if | |
| isRISCV | back to summary |
|---|---|
| public boolean isRISCV() Tests if
| |
| isX86 | back to summary |
|---|---|
| public boolean isX86() Tests if | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
Arch enum defines the architecture of
a microprocessor. The architecture represents the bit value
of the microprocessor.
The following architectures are defined:
| Modifier and Type | Field and Description |
|---|---|
| public static final Processor. | BIT_32
A 32-bit processor architecture. |
| public static final Processor. | BIT_64
A 64-bit processor architecture. |
| private final String | label
A label suitable for display. |
| public static final Processor. | UNKNOWN
An unknown-bit processor architecture. |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public static Processor. | |
| public static Processor. |
| BIT_32 | back to summary |
|---|---|
| public static final Processor. A 32-bit processor architecture. | |
| BIT_64 | back to summary |
|---|---|
| public static final Processor. A 64-bit processor architecture. | |
| label | back to summary |
|---|---|
| private final String label A label suitable for display. | |
| UNKNOWN | back to summary |
|---|---|
| public static final Processor. An unknown-bit processor architecture. | |
| Arch | back to summary |
|---|---|
| private Arch(final String label) | |
| getLabel | back to summary |
|---|---|
| public String getLabel() Gets the label suitable for display.
| |
| valueOf | back to summary |
|---|---|
| public static Processor. | |
| values | back to summary |
|---|---|
| public static Processor. | |
Type enum defines types of a microprocessor.
The following types are defined:
| Modifier and Type | Field and Description |
|---|---|
| public static final Processor. | AARCH_64
ARM 64-bit. |
| public static final Processor. | IA_64
Intel Itanium 64-bit architecture. |
| private final String | label
A label suitable for display. |
| public static final Processor. | PPC
Apple–IBM–Motorola PowerPC architecture. |
| public static final Processor. | RISC_V
RISC-V architecture. |
| public static final Processor. | UNKNOWN
Unknown architecture. |
| public static final Processor. | X86
Intel x86 series of instruction set architectures. |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public static Processor. | |
| public static Processor. |
| AARCH_64 | back to summary |
|---|---|
| public static final Processor. ARM 64-bit.
| |
| IA_64 | back to summary |
|---|---|
| public static final Processor. Intel Itanium 64-bit architecture. | |
| label | back to summary |
|---|---|
| private final String label A label suitable for display. | |
| PPC | back to summary |
|---|---|
| public static final Processor. Apple–IBM–Motorola PowerPC architecture. | |
| RISC_V | back to summary |
|---|---|
| public static final Processor. RISC-V architecture.
| |
| UNKNOWN | back to summary |
|---|---|
| public static final Processor. Unknown architecture. | |
| X86 | back to summary |
|---|---|
| public static final Processor. Intel x86 series of instruction set architectures. | |
| Type | back to summary |
|---|---|
| private Type(final String label) | |
| getLabel | back to summary |
|---|---|
| public String getLabel() Gets the label suitable for display.
| |
| valueOf | back to summary |
|---|---|
| public static Processor. | |
| values | back to summary |
|---|---|
| public static Processor. | |