public enum SystemArchitecture extends Enum<SystemArchitecture>
Enum Constant and Description |
---|
ARCHITECTURE_32_BIT |
ARCHITECTURE_64_BIT |
Modifier and Type | Field and Description |
---|---|
static SystemArchitecture |
defaultSystemArchitecture |
Modifier and Type | Method and Description |
---|---|
static SystemArchitecture |
getCurrentSystemArcitecture() |
static SystemArchitecture |
getSystemArchitecture(String currentArchitecture) |
String |
getSystemArchitectureType() |
static SystemArchitecture |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SystemArchitecture[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SystemArchitecture ARCHITECTURE_64_BIT
public static final SystemArchitecture ARCHITECTURE_32_BIT
public static final SystemArchitecture defaultSystemArchitecture
public static SystemArchitecture[] values()
for (SystemArchitecture c : SystemArchitecture.values()) System.out.println(c);
public static SystemArchitecture 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 getSystemArchitectureType()
public static SystemArchitecture getSystemArchitecture(String currentArchitecture)
public static SystemArchitecture getCurrentSystemArcitecture()
Copyright © 2017. All rights reserved.