public enum Os extends Enum<Os>
| Enum Constant and Description |
|---|
AIX |
AMIGAOS |
BSDI |
CYGWIN95 |
CYGWINNT |
FREEBSD |
HPUX10 |
IRIX |
IRIX64 |
LINUX |
LINUX390 |
MACHTEN |
MACOSX |
MINT |
NEXTSTEP |
OS390 |
OSF1 |
SCO |
SOLARIS |
SUNOS |
UNIXSV |
UNKNOWN |
VMESA |
| Modifier and Type | Method and Description |
|---|---|
static Os |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Os[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Os UNKNOWN
public static final Os LINUX
public static final Os IRIX
public static final Os SOLARIS
public static final Os SUNOS
public static final Os AMIGAOS
public static final Os AIX
public static final Os HPUX10
public static final Os OSF1
public static final Os FREEBSD
public static final Os SCO
public static final Os IRIX64
public static final Os NEXTSTEP
public static final Os BSDI
public static final Os MACHTEN
public static final Os CYGWINNT
public static final Os CYGWIN95
public static final Os UNIXSV
public static final Os MINT
public static final Os OS390
public static final Os VMESA
public static final Os LINUX390
public static final Os MACOSX
public static Os[] values()
for (Os c : Os.values()) System.out.println(c);
public static 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 nullCopyright © 2021. All Rights Reserved.