JavaPatternMatching/resources/javFiles/Faculty.jav

16 lines
220 B
Java

import java.lang.Integer;
class Faculty {
//fact;
Integer mul(Integer x, Integer y) {
return x;
}
m () {
var fact = (Integer x) -> {
return mul(x, fact.apply(x));
};
return fact;
}
}