mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-07-28 16:23:09 +07:00
14 lines
214 B
Java
14 lines
214 B
Java
interface SAM<X> {
|
|
X m(int i, int j);
|
|
}
|
|
|
|
class Foo {
|
|
public final int anInt = 0;
|
|
|
|
void test() {
|
|
m((i, j) -> {
|
|
return i + j;
|
|
});
|
|
}
|
|
void m(SAM<Integer> s) { }
|
|
} |