Java 8 lambda testcode

This commit is contained in:
Andy Clement
2014-02-17 16:23:53 -08:00
parent 9774e2a0d4
commit f9a8252317
14 changed files with 275 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
package basic;
public class LambdaG {
interface Boo { int m(); }
public static void main(String[] args) {
run();
}
public static int run() {
Boo f = null;
f = () -> 99;
return f.m();
}
}