public static enum OsUtilities.MachineType extends Enum<OsUtilities.MachineType>
Enum Constant and Description |
---|
UNKNOWN
Any other bit architecture.
|
X86
A 32-bit system in the x86 family (sometimes called "i386",
"i686" or less commonly "i586" depending on the specific
model).
|
X86_64
A 64-bit system in the x86 family (sometimes called
"amd64").
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns a string representation of the represented machine type.
|
static OsUtilities.MachineType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OsUtilities.MachineType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OsUtilities.MachineType X86
public static final OsUtilities.MachineType X86_64
public static final OsUtilities.MachineType UNKNOWN
public static OsUtilities.MachineType[] values()
for (OsUtilities.MachineType c : OsUtilities.MachineType.values()) System.out.println(c);
public static OsUtilities.MachineType 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 getName()
null
in case of unknown types.Copyright © 2018 CoR-Lab. All rights reserved.