JavaPatternMatching/resources/javFiles/Lambda.jav

14 lines
139 B
Java

class Apply { }
public class Lambda {
m () {
var lam1 = (x) -> {
return x;
};
return lam1.apply(new Apply());
}
}