Class MCQValidity

    • Constructor Summary

      Constructors 
      Constructor Description
      MCQValidity​(java.util.Collection<? extends Answer> answers)  
    • Method Summary

      Modifier and Type Method Description
      boolean isValid​(Answer answer)
      Determine whether the provided answer object is valid
      • Methods inherited from class java.lang.Object

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

      • MCQValidity

        public MCQValidity​(java.util.Collection<? extends Answer> answers)
    • Method Detail

      • isValid

        public boolean isValid​(Answer answer)
        Description copied from interface: ValidityEvaluator
        Determine whether the provided answer object is valid
        Specified by:
        isValid in interface ValidityEvaluator
        Parameters:
        answer - the answer
        Returns:
        whether the answer may be evaluated by the last step