Files
spring-loaded/testdata-java8/src/main/java/basic/LambdaI2.java
Andy Clement ad6a825688 Allow changing of lambda SAM types (alter method descriptor)
This is currently the 'slow' implementation and actually
slows down invokeinterface too - need to get the fast version
done...
2014-02-21 09:15:27 -08:00

18 lines
244 B
Java

package basic;
public class LambdaI2 {
public interface Foo { String m(String in, String in2); }
public static void main(String[] args) {
run();
}
public static String run() {
Foo f = (s,t) -> s+t;
return f.m("a", "b");
}
}