}
}
public static void main(String...args) {
Threadr threadr = new Threadr();
threadr.enableLogging();
threadr.setOutputLevel(Level.FINER);
threadr.setSequentialHandler(new PostSequentialHandler());
StringTest[] stringTests = new StringTest[5];
Test2[] test2Tests = new Test2[5];
for (int i = 0; i < 5; i++) {
stringTests[i] = new StringTest();
test2Tests[i] = new Test2();
}
threadr.addTasks(stringTests);
threadr.addTasks(test2Tests);
ThreadrResult results = threadr.execute();
for (AbstractReturnType<?> result : results.getResults()) {
if (result != null) {
System.out.println(result.toString());
} else {