Enum Constant and Description |
---|
ALPHA
Represents any ALPHA-compatible CPU.
|
AMD64
Represents any AMD 64-bit (64-bit X86) compatible CPU.
|
ARM
Represents any ARM-compatible CPU.
|
MIPS
Represents any MIPS-compatible CPU.
|
PPC
Represents any 32-bit PowerPC-compatible CPU.
|
PPC64
Represents any 64-bit PowerPC-compatible CPU.
|
SPARC
Represents any SPARC-compatible CPU.
|
UNKNOWN
Represents any unknown architecture CPU.
|
X86
Represents any X86 32-bit compatible CPU.
|
Modifier and Type | Method and Description |
---|---|
static PCD.ARCH |
detectARCH()
Detects the current system architecture
Check out: http://lopica.sourceforge.net/os.html
|
static PCD.ARCH |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PCD.ARCH[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PCD.ARCH X86
public static final PCD.ARCH AMD64
public static final PCD.ARCH ALPHA
public static final PCD.ARCH ARM
public static final PCD.ARCH MIPS
public static final PCD.ARCH SPARC
public static final PCD.ARCH PPC
public static final PCD.ARCH PPC64
public static final PCD.ARCH UNKNOWN
public static PCD.ARCH[] values()
for (PCD.ARCH c : PCD.ARCH.values()) System.out.println(c);
public static PCD.ARCH valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static PCD.ARCH detectARCH()
Copyright © 2008-2022 University of Manitoba.