2018-06-27 13:20:35 +00:00
|
|
|
import java.util.Vector;
|
|
|
|
class Apply { }
|
2017-11-29 13:45:15 +00:00
|
|
|
|
2018-05-02 18:54:07 +00:00
|
|
|
public class Lambda {
|
2017-11-29 13:45:15 +00:00
|
|
|
|
2018-05-02 18:54:07 +00:00
|
|
|
m () {
|
2018-06-23 08:54:14 +00:00
|
|
|
var lam1 = (x) -> {
|
2018-05-02 18:54:07 +00:00
|
|
|
return x;
|
|
|
|
};
|
2018-07-02 09:11:29 +00:00
|
|
|
return lam1.apply(new Apply());
|
|
|
|
//return lam1;
|
2018-06-27 13:20:35 +00:00
|
|
|
// return new Vector();
|
2018-05-02 18:54:07 +00:00
|
|
|
}
|
2017-11-29 13:45:15 +00:00
|
|
|
}
|
2018-06-23 08:54:14 +00:00
|
|
|
|