public enum OsArchitecture extends java.lang.Enum<OsArchitecture>
Enum Constant and Description |
---|
AMD64 |
I386 |
SPARC |
SPARCV9 |
UNKNOWN |
X86 |
Modifier and Type | Method and Description |
---|---|
static OsArchitecture |
fromString(java.lang.String arch) |
NumericalPrecision |
getNumericalPrecision() |
boolean |
isAmd64() |
boolean |
isI386() |
boolean |
isSparc() |
boolean |
isSparcV9() |
boolean |
isX86() |
static OsArchitecture |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OsArchitecture[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OsArchitecture UNKNOWN
public static final OsArchitecture I386
public static final OsArchitecture X86
public static final OsArchitecture AMD64
public static final OsArchitecture SPARC
public static final OsArchitecture SPARCV9
public static OsArchitecture[] values()
for (OsArchitecture c : OsArchitecture.values()) System.out.println(c);
public static OsArchitecture 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 NumericalPrecision getNumericalPrecision()
public boolean isI386()
public boolean isX86()
public boolean isAmd64()
public boolean isSparc()
public boolean isSparcV9()
public static OsArchitecture fromString(java.lang.String arch)
Copyright © 2014 EsprIT-Systems. All Rights Reserved.