org.freecompany.redline.header
public class Os extends Enum<Os>
Field Summary | |
---|---|
static Os | AIX |
static Os | AMIGAOS |
static Os | BSDI |
static Os | CYGWIN95 |
static Os | CYGWINNT |
static Os | FREEBSD |
static Os | HPUX10 |
static Os | IRIX |
static Os | IRIX64 |
static Os | LINUX |
static Os | LINUX390 |
static Os | MACHTEN |
static Os | MINT |
static Os | NEXTSTEP |
static Os | OS390 |
static Os | OSF1 |
static Os | SCO |
static Os | SOLARIS |
static Os | SUNOS |
static Os | UNIXSV |
static Os | UNKNOWN |
static List<Os> | VALUES An immutable list containing the values comprising this enum class in the order they're declared. |
static Os | VMESA |
Method Summary | |
---|---|
List<Os> | family() Returns an immutable list containing the values comprising this enum class in the order they're declared. |
static Os | valueOf(String name) Static factory to return the enum constant pertaining to the given string name. |
for(Os c : Os.VALUES) System.out.println(c);
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.
Throws: IllegalArgumentException if this enum class has no constant with the specified name.