/**
  * Returns the next operation after the current one if one exists, otherwise returns the current
  * operation.
  *
  * @return
  */
 public E getNext() {
   if (this.currentPlaybackOp != (this.getMaximum())) {
     return log.getOpSequence().get(currentPlaybackOp + 1);
   } else {
     Debug.println("last op");
     return this.getCurrentOp();
   }
 }