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

15 lines
298 B
Java

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