JavaCompilerCore/testBytecode/manually/Fac2.java

15 lines
249 B
Java
Raw Permalink Normal View History

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