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()); } }
@Override public void visitInTestVerificationOrder(UnaryProcedure<HasPlanning> proc) { proc.execute(this); }