JavaCompilerCore/test/javFiles/Lambda.jav

20 lines
215 B
Plaintext
Raw Normal View History

2017-04-19 13:26:37 +00:00
class Lambda{
String var;
methode(){
return () -> (f) -> {
f.apply(this, var);
return var;
};
2017-04-19 13:26:37 +00:00
}
}
interface Fun1<A,B>{
A apply(B b);
}
interface Fun2<A,B,C>{
A apply(B b, C c);
2017-04-19 13:26:37 +00:00
}