net.sf.farrago.fennel.calc
Enum CalcProgramBuilder.RegisterSetType

java.lang.Object
  extended by java.lang.Enum<CalcProgramBuilder.RegisterSetType>
      extended by net.sf.farrago.fennel.calc.CalcProgramBuilder.RegisterSetType
All Implemented Interfaces:
Serializable, Comparable<CalcProgramBuilder.RegisterSetType>
Enclosing class:
CalcProgramBuilder

public static enum CalcProgramBuilder.RegisterSetType
extends Enum<CalcProgramBuilder.RegisterSetType>

Enumeration of register types


Enum Constant Summary
Input
           
Literal
           
Local
           
Output
           
Status
           
 
Field Summary
(package private)  char prefix
           
(package private) static int ValueCount
           
 
Method Summary
static CalcProgramBuilder.RegisterSetType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CalcProgramBuilder.RegisterSetType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Output

public static final CalcProgramBuilder.RegisterSetType Output

Input

public static final CalcProgramBuilder.RegisterSetType Input

Literal

public static final CalcProgramBuilder.RegisterSetType Literal

Local

public static final CalcProgramBuilder.RegisterSetType Local

Status

public static final CalcProgramBuilder.RegisterSetType Status
Field Detail

prefix

final char prefix

ValueCount

static final int ValueCount
Method Detail

values

public static final CalcProgramBuilder.RegisterSetType[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(CalcProgramBuilder.RegisterSetType c : CalcProgramBuilder.RegisterSetType.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static CalcProgramBuilder.RegisterSetType valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name