Serializable
, Comparable<Platform.OS>
public static enum Platform.OS extends Enum<Platform.OS>
Enum Constant | Description |
---|---|
AIX |
IBM AIX
|
DARWIN |
MacOSX
|
FREEBSD |
FreeBSD
|
LINUX |
Linux
|
NETBSD |
NetBSD
|
OPENBSD |
OpenBSD
|
SOLARIS |
Solaris (and OpenSolaris)
|
UNKNOWN |
No idea what the operating system is
|
WINDOWS |
The evil borg operating system
|
ZLINUX |
IBM zOS
|
Modifier and Type | Method | Description |
---|---|---|
String |
toString() |
|
static Platform.OS |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static Platform.OS[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Platform.OS DARWIN
public static final Platform.OS FREEBSD
public static final Platform.OS NETBSD
public static final Platform.OS OPENBSD
public static final Platform.OS LINUX
public static final Platform.OS SOLARIS
public static final Platform.OS WINDOWS
public static final Platform.OS AIX
public static final Platform.OS ZLINUX
public static final Platform.OS UNKNOWN
public static Platform.OS[] values()
for (Platform.OS c : Platform.OS.values()) System.out.println(c);
public static Platform.OS 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 toString()
toString
in class Enum<Platform.OS>
Copyright © 2019. All rights reserved.