JavaCompilerCore/testBytecode/manually/LamAssignWithM.java
2017-11-29 14:45:15 +01:00

13 lines
255 B
Java

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;
}
}