JavaCompilerCore/testBytecode/manually/LamAssignWithM.java

13 lines
255 B
Java
Raw Normal View History

2017-11-29 13:45:15 +00:00
import java.util.function.Function;
class LamAssignWithM {
Integer mul(Integer x, Integer y) {
return x;
}
Function<Integer,Integer> m () {
Function<Integer,Integer> lam1 = (Integer x) -> {
return mul(x,x);
};
return lam1;
}
}