public enum OperatingSystemFamily extends Enum<OperatingSystemFamily>
Modifier and Type | Method and Description |
---|---|
static OperatingSystemFamily |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OperatingSystemFamily[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperatingSystemFamily LINUX
public static final OperatingSystemFamily WINDOWS
public static final OperatingSystemFamily UNIX
public static final OperatingSystemFamily DEC_OS
public static final OperatingSystemFamily MAC
public static OperatingSystemFamily[] values()
for (OperatingSystemFamily c : OperatingSystemFamily.values()) System.out.println(c);
public static OperatingSystemFamily 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 null