Class TrueFalseProcessor

    • Method Summary

      Modifier and Type Method Description
      Answer process​(Answer answer)
      Modify the entry and store the result in a new Answer object.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • TRUE

        public static final Answer TRUE
      • FALSE

        public static final Answer FALSE
    • Constructor Detail

      • TrueFalseProcessor

        public TrueFalseProcessor()
    • Method Detail

      • process

        public Answer process​(Answer answer)
        Description copied from interface: AnswerProcessor
        Modify the entry and store the result in a new Answer object.
        Specified by:
        process in interface AnswerProcessor
        Parameters:
        answer - the given entry
        Returns:
        a new Answer object storing the computed result