forked from JavaTX/JavaCompilerCore
Fix up runnable
This commit is contained in:
parent
9ad5b76542
commit
f588ece7c3
@ -1,13 +1,16 @@
|
|||||||
import java.lang.Runnable;
|
import java.lang.Runnable;
|
||||||
import java.lang.String;
|
import java.lang.String;
|
||||||
import java.lang.System;
|
import java.lang.System;
|
||||||
|
import java.io.PrintStream;
|
||||||
|
|
||||||
public class LambdaRunnable {
|
public class LambdaRunnable {
|
||||||
|
|
||||||
public LambdaRunnable(){
|
public LambdaRunnable(){
|
||||||
|
|
||||||
|
|
||||||
Runnable lam = () -> {var a;};
|
Runnable lam = () -> {
|
||||||
|
System.out.println("Runnable is running");
|
||||||
|
};
|
||||||
lam.run();
|
lam.run();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user