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