mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-22 14:50:53 +07:00
10 lines
174 B
Java
10 lines
174 B
Java
interface SAM<X> {
|
|
X m(int i, int j);
|
|
}
|
|
|
|
class Foo {
|
|
void test() {
|
|
m(<selection>(i, j) -> i + j</selection>);
|
|
}
|
|
void m(SAM<Integer> s) { }
|
|
} |