Serializable, Comparable<SystemUtil.OperatingSystem>public static enum SystemUtil.OperatingSystem extends Enum<SystemUtil.OperatingSystem>
| Enum Constant | Description |
|---|---|
ARM |
|
LINUX |
|
MAC |
|
SOLARIS |
|
UNKNOWN |
|
WINDOWS |
| Modifier and Type | Method | Description |
|---|---|---|
static SystemUtil.OperatingSystem |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static SystemUtil.OperatingSystem[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SystemUtil.OperatingSystem ARM
public static final SystemUtil.OperatingSystem LINUX
public static final SystemUtil.OperatingSystem MAC
public static final SystemUtil.OperatingSystem WINDOWS
public static final SystemUtil.OperatingSystem SOLARIS
public static final SystemUtil.OperatingSystem UNKNOWN
public static SystemUtil.OperatingSystem[] values()
for (SystemUtil.OperatingSystem c : SystemUtil.OperatingSystem.values()) System.out.println(c);
public static SystemUtil.OperatingSystem 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 nullCopyright © 2018. All rights reserved.