2017-04-19 13:26:37 +00:00
|
|
|
class Lambda{
|
|
|
|
|
|
|
|
methode(){
|
2017-06-15 00:57:49 +00:00
|
|
|
return ((f) -> f);
|
2017-04-19 13:26:37 +00:00
|
|
|
}
|
2017-06-14 02:07:27 +00:00
|
|
|
}
|
2017-06-15 00:17:46 +00:00
|
|
|
/*
|
2017-06-14 02:07:27 +00:00
|
|
|
interface Fun0<A>{
|
|
|
|
A apply();
|
2017-05-05 14:20:12 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
interface Fun1<A,B>{
|
|
|
|
A apply(B b);
|
|
|
|
}
|
2017-06-15 00:17:46 +00:00
|
|
|
*/
|
2017-05-05 14:20:12 +00:00
|
|
|
interface Fun2<A,B,C>{
|
|
|
|
A apply(B b, C c);
|
2017-04-19 13:26:37 +00:00
|
|
|
}
|