de.fu_berlin.ties.eval
Enum Mistake.MistakeTypes

java.lang.Object
  extended by java.lang.Enum<Mistake.MistakeTypes>
      extended by de.fu_berlin.ties.eval.Mistake.MistakeTypes
All Implemented Interfaces:
Serializable, Comparable<Mistake.MistakeTypes>
Enclosing class:
Mistake

public static enum Mistake.MistakeTypes
extends Enum<Mistake.MistakeTypes>

The types of mistakes that can occur.


Enum Constant Summary
CompletelyMissing
          Answer key is completely missing.
CompletelySpurious
          Prediction is completely spurious.
EarlyEnd
          Prediction ended earlier than the answer key.
EarlyStart
          Prediction started earlier than the answer key.
Ignored
          Prediction was ignored (there was another more likely prediction).
LateEnd
          Prediction ended after the answer key.
LateStart
          Prediction started after the answer key.
WrongType
          Prediction and answer key are of different types.
 
Method Summary
static Mistake.MistakeTypes valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Mistake.MistakeTypes[] 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

CompletelyMissing

public static final Mistake.MistakeTypes CompletelyMissing
Answer key is completely missing.


CompletelySpurious

public static final Mistake.MistakeTypes CompletelySpurious
Prediction is completely spurious.


EarlyEnd

public static final Mistake.MistakeTypes EarlyEnd
Prediction ended earlier than the answer key.


EarlyStart

public static final Mistake.MistakeTypes EarlyStart
Prediction started earlier than the answer key.


Ignored

public static final Mistake.MistakeTypes Ignored
Prediction was ignored (there was another more likely prediction).


LateEnd

public static final Mistake.MistakeTypes LateEnd
Prediction ended after the answer key.


LateStart

public static final Mistake.MistakeTypes LateStart
Prediction started after the answer key.


WrongType

public static final Mistake.MistakeTypes WrongType
Prediction and answer key are of different types.

Method Detail

values

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

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

valueOf

public static Mistake.MistakeTypes 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


Copyright © 2003-2007 Christian Siefkes. All Rights Reserved.