public static enum Processor.Arch extends Enum<Processor.Arch>
Processor.Arch
enum defines the architecture of
a microprocessor. The architecture represents the bit value
of the microprocessor.
The following architectures are defined:
Enum Constant and Description |
---|
BIT_32
A 32-bit processor architecture.
|
BIT_64
A 64-bit processor architecture.
|
UNKNOWN
An unknown-bit processor architecture.
|
Modifier and Type | Method and Description |
---|---|
String |
getLabel()
Gets the label suitable for display.
|
static Processor.Arch |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Processor.Arch[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Processor.Arch BIT_32
public static final Processor.Arch BIT_64
public static final Processor.Arch UNKNOWN
public static Processor.Arch[] values()
for (Processor.Arch c : Processor.Arch.values()) System.out.println(c);
public static Processor.Arch 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 nullpublic String getLabel()
Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.