Example #1
0
 /*checks whether the test is done. if it is, it outputs the final log info and does time calculations*/
 public boolean checkForFinish() {
   if (questionIndex > questions.size()) {
     stats.endtime = new Date().getTime();
     return true;
   } else return false;
 }