|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Mistake.MistakeTypes>
de.fu_berlin.ties.eval.Mistake.MistakeTypes
public static 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 |
---|
public static final Mistake.MistakeTypes CompletelyMissing
public static final Mistake.MistakeTypes CompletelySpurious
public static final Mistake.MistakeTypes EarlyEnd
public static final Mistake.MistakeTypes EarlyStart
public static final Mistake.MistakeTypes Ignored
public static final Mistake.MistakeTypes LateEnd
public static final Mistake.MistakeTypes LateStart
public static final Mistake.MistakeTypes WrongType
Method Detail |
---|
public static final Mistake.MistakeTypes[] values()
for(Mistake.MistakeTypes c : Mistake.MistakeTypes.values()) System.out.println(c);
public static Mistake.MistakeTypes valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |