de.cau.cs.kieler.krep.evalbench.trace
Enum IO

java.lang.Object
  extended by java.lang.Enum<IO>
      extended by de.cau.cs.kieler.krep.evalbench.trace.IO
All Implemented Interfaces:
Serializable, Comparable<IO>

public enum IO
extends Enum<IO>

distinguishes the kinds of signal that are stored in a trace.

Rating proposed yellow
(2010-01-28) ctr

Enum Constant Summary
INPUT
          Input signals.
OUTPUT
          Output signals.
SAVED_OUTPUT
          Reference value for output signals.
 
Method Summary
static IO valueOf(String name)
          Returns the enum constant of this type with the specified name.
static IO[] 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

INPUT

public static final IO INPUT
Input signals.


OUTPUT

public static final IO OUTPUT
Output signals.


SAVED_OUTPUT

public static final IO SAVED_OUTPUT
Reference value for output signals.

Method Detail

values

public static IO[] 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 (IO c : IO.values())
    System.out.println(c);

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

valueOf

public static IO 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