Serializable
, Comparable<Processor.Type>
public static enum Processor.Type extends Enum<Processor.Type>
Processor.Type
enum defines types of a microprocessor.
The following types are defined:
Enum Constant | Description |
---|---|
IA_64 |
Intel Itanium 64-bit architecture.
|
PPC |
Apple–IBM–Motorola PowerPC architecture.
|
UNKNOWN |
Unknown architecture.
|
X86 |
Intel x86 series of instruction set architectures.
|
Modifier and Type | Method | Description |
---|---|---|
static Processor.Type |
valueOf(String name) |
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.
|
public static final Processor.Type X86
public static final Processor.Type IA_64
public static final Processor.Type PPC
public static final Processor.Type UNKNOWN
public static Processor.Type[] values()
for (Processor.Type c : Processor.Type.values()) System.out.println(c);
public static Processor.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2001–2018. All rights reserved.