de.cau.cs.kieler.krep.compiler.klp
Enum CJmpInstruction.Cond

java.lang.Object
  extended by java.lang.Enum<CJmpInstruction.Cond>
      extended by de.cau.cs.kieler.krep.compiler.klp.CJmpInstruction.Cond
All Implemented Interfaces:
Serializable, Comparable<CJmpInstruction.Cond>
Enclosing class:
CJmpInstruction

public static enum CJmpInstruction.Cond
extends Enum<CJmpInstruction.Cond>

Rating red

Enum Constant Summary
F
          jump when false.
NZ
          jump when not zero.
T
          jump when true.
Z
          jump when zero.
 
Method Summary
static CJmpInstruction.Cond valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CJmpInstruction.Cond[] 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

T

public static final CJmpInstruction.Cond T
jump when true.


F

public static final CJmpInstruction.Cond F
jump when false.


Z

public static final CJmpInstruction.Cond Z
jump when zero.


NZ

public static final CJmpInstruction.Cond NZ
jump when not zero.

Method Detail

values

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

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

valueOf

public static CJmpInstruction.Cond 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
NullPointerException - if the argument is null