public void apply(boolean ascending, UnaryProcedure<ExecutionSequence> proc) {
   if (parallel.isEmpty()) return;
   for (Iterator<ExecutionSequence> iter =
           (ascending ? parallel.iterator() : parallel.descendingIterator());
       iter.hasNext(); ) {
     proc.execute(iter.next());
   }
 }
예제 #2
0
 @Override
 public void visitInTestVerificationOrder(UnaryProcedure<HasPlanning> proc) {
   proc.execute(this);
 }