standaloneExecutables/src/main/java/com/ge/research/semtk/standaloneExecutables/PerformanceTest.java
public static void runMultiplePasses(int numberOfPasses, Pass pass) {
		IntStream.range(0, numberOfPasses).forEach(i -> {
			try {
				// Passes receive 1-based pass number
				pass.apply(i + 1);
			} catch (Exception e) {
				System.out.println(e.getMessage());
				System.exit(1);
			}
		});
	}
/**
	 * Runs the given 'Pass' the indicated number of passes.
	 *
	 * @param numberOfPasses How many passes to run
	 * @param pass           Callback to run one pass
	 */
Runs the given 'Pass' the indicated number of passes.
@param numberOfPasses How many passes to run
@param pass           Callback to run one pass
Runs the given ' Pass ' the indicated number of passes . @param numberOfPasses How many passes to run @param pass Callback to run one pass
public static void runMultiplePasses(int numberOfPasses, Pass pass) {
		IntStream.range(0, numberOfPasses).forEach(i -> {
			try {
				pass.apply(i + 1);
			} catch (Exception e) {
				System.out.println(e.getMessage());
				System.exit(1);
			}
		});
	}
public static void runMultiplePasses ( int numberOfPasses , Pass pass ) { IntStream . range ( 0 , numberOfPasses ) . forEach ( i -> { try { pass . apply ( i + 1 ) ; } catch ( Exception e ) { System . out . println ( e . getMessage ( ) ) ; System . exit ( 1 ) ; } } ) ; }
Runs the given 'Pass' the indicated number of passes.
Runs the given ' Pass ' the indicated number of passes .
// Passes receive 1-based pass number