public static enum Utils.OSType extends Enum<Utils.OSType>
| Modifier and Type | Method and Description |
|---|---|
static Utils.OSType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Utils.OSType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Utils.OSType Windows
public static final Utils.OSType MacOS
public static final Utils.OSType Linux
public static final Utils.OSType Other
public static Utils.OSType[] values()
for (Utils.OSType c : Utils.OSType.values()) System.out.println(c);
public static Utils.OSType 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 © 2021. All rights reserved.