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