mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 15:50:53 +07:00
11 lines
184 B
Java
11 lines
184 B
Java
interface SAM<X> {
|
|
X m(int i, int j);
|
|
}
|
|
|
|
class Foo {
|
|
void test() {
|
|
SAM<Integer> c = (i, j)->i + j;
|
|
m(<caret>c);
|
|
}
|
|
void m(SAM<Integer> s) { }
|
|
} |