Package net.starype.quiz.api.game.answer
Class DoubleAnswerEvaluator
- java.lang.Object
-
- net.starype.quiz.api.game.answer.DoubleAnswerEvaluator
-
- All Implemented Interfaces:
AnswerEvaluator
public class DoubleAnswerEvaluator extends java.lang.Object implements AnswerEvaluator
-
-
Constructor Summary
Constructors Constructor Description DoubleAnswerEvaluator(NumberCorrectness integerCorrectnessEvaluator)
-
Method Summary
Modifier and Type Method Description CorrectnessEvaluatorgetCorrectnessEvaluator()Retrieve the third step of the process, used to evaluate the accuracy of the processed and valid answer.ValidityEvaluatorgetValidityEvaluator()Retrieve the second step of the process, used to verify that a processed answer is valid.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.starype.quiz.api.game.answer.AnswerEvaluator
getProcessor
-
-
-
-
Constructor Detail
-
DoubleAnswerEvaluator
public DoubleAnswerEvaluator(NumberCorrectness integerCorrectnessEvaluator)
-
-
Method Detail
-
getValidityEvaluator
public ValidityEvaluator getValidityEvaluator()
Description copied from interface:AnswerEvaluatorRetrieve the second step of the process, used to verify that a processed answer is valid.- Specified by:
getValidityEvaluatorin interfaceAnswerEvaluator- Returns:
- the
ValidityEvaluatorobject
-
getCorrectnessEvaluator
public CorrectnessEvaluator getCorrectnessEvaluator()
Description copied from interface:AnswerEvaluatorRetrieve the third step of the process, used to evaluate the accuracy of the processed and valid answer.- Specified by:
getCorrectnessEvaluatorin interfaceAnswerEvaluator- Returns:
- the
CorrectnessEvaluatorobject
-
-