mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 18:09:38 +07:00
13 lines
150 B
Java
13 lines
150 B
Java
interface I<T> {
|
|
void m(T t);
|
|
}
|
|
|
|
class MyTest {
|
|
{
|
|
I<String> i = new I<>() {
|
|
public void m(String s) {}
|
|
};
|
|
|
|
<caret>i.m("");
|
|
}
|
|
} |