Package net.starype.quiz.api.game.answer
Class TrueFalseProcessor
- java.lang.Object
-
- net.starype.quiz.api.game.answer.TrueFalseProcessor
-
- All Implemented Interfaces:
AnswerProcessor
public class TrueFalseProcessor extends java.lang.Object implements AnswerProcessor
-
-
Constructor Summary
Constructors Constructor Description TrueFalseProcessor()
-
Method Summary
-
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.AnswerProcessor
combine, process
-
-
-
-
Method Detail
-
process
public Answer process(Answer answer)
Description copied from interface:AnswerProcessor
Modify the entry and store the result in a newAnswer
object.- Specified by:
process
in interfaceAnswerProcessor
- Parameters:
answer
- the given entry- Returns:
- a new
Answer
object storing the computed result
-
-