...
import static edu.rice.hj.Module1.async;
import static edu.rice.hj.Module1.finish;
public class HelloWorld {
public static void main(final String[] args) {
launchHabaneroApp(() -> {
finish(() -> {
async(() ->
System.out.println("Hello World - 1")
);
async(() ->
System.out.println("Hello World - 2")
);
async(() ->
System.out.println("Hello World - 3")
);
});
});
}
}
Now we can run this program by right clicking on the HelloWorld item on the project explorer and clicking run.
...