2018-06-27 14:49:22 +02:00
|
|
|
//class Apply { }
|
2017-11-29 14:45:15 +01:00
|
|
|
|
2018-05-02 20:54:07 +02:00
|
|
|
public class Lambda {
|
2017-11-29 14:45:15 +01:00
|
|
|
|
2018-05-02 20:54:07 +02:00
|
|
|
m () {
|
2018-06-23 10:54:14 +02:00
|
|
|
var lam1 = (x) -> {
|
2018-05-02 20:54:07 +02:00
|
|
|
return x;
|
|
|
|
};
|
2018-06-27 14:49:22 +02:00
|
|
|
// return lam1.apply(new Apply());
|
|
|
|
return lam1;
|
2018-05-02 20:54:07 +02:00
|
|
|
}
|
2017-11-29 14:45:15 +01:00
|
|
|
}
|
2018-06-23 10:54:14 +02:00
|
|
|
|