Class IntegerValidity

    • Method Summary

      Modifier and Type Method Description
      static IntegerValidity getInstance()  
      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
    • 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