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

15 lines
282 B
Java

import java.util.function.Function;
class LamWithField {
Integer mul(Integer x, Integer y) {
return x;
}
Integer res = new Integer(5);
Function<Integer,Integer> m () {
Function<Integer,Integer> lam1 = (Integer x) -> {
return res*x;
};
return lam1;
}
}