hicosim.components.backend.processor
Enum Processor.ScalarRegister
java.lang.Object
java.lang.Enum<Processor.ScalarRegister>
hicosim.components.backend.processor.Processor.ScalarRegister
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Processor.ScalarRegister>
- Enclosing class:
- Processor
public static enum Processor.ScalarRegister
- extends java.lang.Enum<Processor.ScalarRegister>
Enumaration of a ScalarRegister.
Method Summary |
int |
getValue()
|
void |
setValue(int value)
This method is used to set the value of a scalarRegister
and show that change in GUI if GUI App is launched. |
static Processor.ScalarRegister |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Processor.ScalarRegister[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
A
public static final Processor.ScalarRegister A
X
public static final Processor.ScalarRegister X
Y
public static final Processor.ScalarRegister Y
ssTmp
public static final Processor.ScalarRegister ssTmp
ttTmp
public static final Processor.ScalarRegister ttTmp
ddTmp
public static final Processor.ScalarRegister ddTmp
values
public static final Processor.ScalarRegister[] 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(Processor.ScalarRegister c : Processor.ScalarRegister.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static Processor.ScalarRegister valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
getValue
public int getValue()
setValue
public void setValue(int value)
- This method is used to set the value of a scalarRegister
and show that change in GUI if GUI App is launched.
- Parameters:
value
-