org.freecompany.redline.header

Class Os

public class Os extends Enum<Os>

Field Summary
static OsAIX
static OsAMIGAOS
static OsBSDI
static OsCYGWIN95
static OsCYGWINNT
static OsFREEBSD
static OsHPUX10
static OsIRIX
static OsIRIX64
static OsLINUX
static OsLINUX390
static OsMACHTEN
static OsMINT
static OsNEXTSTEP
static OsOS390
static OsOSF1
static OsSCO
static OsSOLARIS
static OsSUNOS
static OsUNIXSV
static OsUNKNOWN
static List<Os>VALUES
An immutable list containing the values comprising this enum class in the order they're declared.
static OsVMESA
Method Summary
List<Os>family()
Returns an immutable list containing the values comprising this enum class in the order they're declared.
static OsvalueOf(String name)
Static factory to return the enum constant pertaining to the given string name.

Field Detail

AIX

public static final Os AIX

AMIGAOS

public static final Os AMIGAOS

BSDI

public static final Os BSDI

CYGWIN95

public static final Os CYGWIN95

CYGWINNT

public static final Os CYGWINNT

FREEBSD

public static final Os FREEBSD

HPUX10

public static final Os HPUX10

IRIX

public static final Os IRIX

IRIX64

public static final Os IRIX64

LINUX

public static final Os LINUX

LINUX390

public static final Os LINUX390

MACHTEN

public static final Os MACHTEN

MINT

public static final Os MINT

NEXTSTEP

public static final Os NEXTSTEP

OS390

public static final Os OS390

OSF1

public static final Os OSF1

SCO

public static final Os SCO

SOLARIS

public static final Os SOLARIS

SUNOS

public static final Os SUNOS

UNIXSV

public static final Os UNIXSV

UNKNOWN

public static final Os UNKNOWN

VALUES

public static final List<Os> VALUES
An immutable list containing the values comprising this enum class in the order they're declared. This field may be used to iterate over the constants as follows:
for(Os c : Os.VALUES)
    System.out.println(c);

VMESA

public static final Os VMESA

Method Detail

family

public final List<Os> family()
Returns an immutable list containing the values comprising this enum class in the order they're declared. This instance method simply returns VALUES. Few programmers should have any need to use this method. It is provided for use by sophisticated enum-based data structures to prevent the need for reflective access to VALUES.

Returns: an immutable list containing the values comprising this enum class, in the order they're declared.

valueOf

public static final Os valueOf(String name)
Static factory to return the enum constant pertaining to the given string name. The string must match exactly an identifier used to declare an enum constant in this type.

Throws: IllegalArgumentException if this enum class has no constant with the specified name.