mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-18 07:15:51 +07:00
16 lines
369 B
Java
16 lines
369 B
Java
class Demo {
|
|
class MyEvent<T> {}
|
|
interface MyEventListener<T> {
|
|
void action(MyEvent<T> event);
|
|
}
|
|
|
|
class Driver {
|
|
void method() {
|
|
MyEventListener<Object> l = new MyEventListener<Object>() {
|
|
public void ac<caret>tion(MyEvent<Object> event) {
|
|
|
|
}
|
|
};
|
|
}
|
|
}
|
|
} |