|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Arch>
com.nullprogram.guide.Arch
public enum Arch
Enumeration of pre-defined architectures.
Enum Constant Summary | |
---|---|
LINUX_32
32-bit Linux. |
|
LINUX_64
64-bit Linux. |
|
MAC_32
32-bit Mac OS X. |
|
MAC_64
64-bit Mac OS X. |
|
UNKNOWN
Unknown architecture. |
|
WINDOWS_32
32-bit Microsoft Windows. |
|
WINDOWS_64
64-bit Microsoft Windows. |
Method Summary | |
---|---|
static Arch |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Arch[] |
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 |
Enum Constant Detail |
---|
public static final Arch LINUX_32
public static final Arch LINUX_64
public static final Arch WINDOWS_32
public static final Arch WINDOWS_64
public static final Arch MAC_32
public static final Arch MAC_64
public static final Arch UNKNOWN
Method Detail |
---|
public static Arch[] values()
for (Arch c : Arch.values()) System.out.println(c);
public static Arch valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |