Ejemplo n.º 1
0
 /** Get the subsequent operation (if any) */
 public Operation getSubsequentOperation() {
   return (iOperationNumber + 1 == iJob.countOperations()
       ? null
       : iJob.getOperation(iOperationNumber + 1));
 }
Ejemplo n.º 2
0
 /** Get the preceeding operation (if any) */
 public Operation getPrecedingOperation() {
   return (iOperationNumber == 0 ? null : iJob.getOperation(iOperationNumber - 1));
 }