JavaCompilerCore/test/javFiles/Lambda.jav

19 lines
189 B
Plaintext
Raw Normal View History

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