org.freecompany.redline.header

Class Architecture

public class Architecture extends Enum<Architecture>

Field Summary
static ArchitectureALPHA
static ArchitectureARM
static ArchitectureI386
static ArchitectureIA64
static ArchitectureIP
static ArchitectureM68K
static ArchitectureMIPS
static ArchitectureMIPSEL
static ArchitectureMK68KMINT
static ArchitectureNOARCH
static ArchitecturePPC
static ArchitecturePPC64
static ArchitectureRS6000
static ArchitectureS390
static ArchitectureS390X
static ArchitectureSH
static ArchitectureSPARC
static ArchitectureSPARC64
static List<Architecture>VALUES
An immutable list containing the values comprising this enum class in the order they're declared.
static ArchitectureXTENSA
Method Summary
List<Architecture>family()
Returns an immutable list containing the values comprising this enum class in the order they're declared.
static ArchitecturevalueOf(String name)
Static factory to return the enum constant pertaining to the given string name.

Field Detail

ALPHA

public static final Architecture ALPHA

ARM

public static final Architecture ARM

I386

public static final Architecture I386

IA64

public static final Architecture IA64

IP

public static final Architecture IP

M68K

public static final Architecture M68K

MIPS

public static final Architecture MIPS

MIPSEL

public static final Architecture MIPSEL

MK68KMINT

public static final Architecture MK68KMINT

NOARCH

public static final Architecture NOARCH

PPC

public static final Architecture PPC

PPC64

public static final Architecture PPC64

RS6000

public static final Architecture RS6000

S390

public static final Architecture S390

S390X

public static final Architecture S390X

SH

public static final Architecture SH

SPARC

public static final Architecture SPARC

SPARC64

public static final Architecture SPARC64

VALUES

public static final List<Architecture> 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(Architecture c : Architecture.VALUES)
    System.out.println(c);

XTENSA

public static final Architecture XTENSA

Method Detail

family

public final List<Architecture> 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 Architecture 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.