org.freecompany.redline.header
Enum Os
java.lang.Object
java.lang.Enum<Os>
org.freecompany.redline.header.Os
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Os>
public enum Os
- extends java.lang.Enum<Os>
Method Summary |
static Os |
valueOf(java.lang.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. |
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
UNKNOWN
public static final Os UNKNOWN
LINUX
public static final Os LINUX
IRIX
public static final Os IRIX
SOLARIS
public static final Os SOLARIS
SUNOS
public static final Os SUNOS
AMIGAOS
public static final Os AMIGAOS
AIX
public static final Os AIX
HPUX10
public static final Os HPUX10
OSF1
public static final Os OSF1
FREEBSD
public static final Os FREEBSD
SCO
public static final Os SCO
IRIX64
public static final Os IRIX64
NEXTSTEP
public static final Os NEXTSTEP
BSDI
public static final Os BSDI
MACHTEN
public static final Os MACHTEN
CYGWINNT
public static final Os CYGWINNT
CYGWIN95
public static final Os CYGWIN95
UNIXSV
public static final Os UNIXSV
MINT
public static final Os MINT
OS390
public static final Os OS390
VMESA
public static final Os VMESA
LINUX390
public static final Os LINUX390
values
public static Os[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Os c : Os.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Os valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null