Supported SAM adapters as get/set operators.

This commit is contained in:
Evgeny Gerashchenko
2013-06-26 00:17:14 +04:00
parent 779ea1d7b8
commit b1fb0aafea
9 changed files with 126 additions and 3 deletions

View File

@@ -0,0 +1,13 @@
class JavaClass {
int get(Runnable i1, Runnable i2) {
i1.run();
i2.run();
return 239;
}
void set(Runnable i1, Runnable i2, Runnable value) {
i1.run();
i2.run();
value.run();
}
}