mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-20 11:36:16 +07:00
16 lines
435 B
Java
16 lines
435 B
Java
class Demo {
|
|
class MyEvent<T> {}
|
|
interface MyEventListener<T> {
|
|
void xxx(MyEvent<T> event);
|
|
}
|
|
|
|
class Driver {
|
|
void method() {
|
|
MyEventListener<Object> l = new MyEventListener<Object>() {
|
|
public void xxx(MyEvent<Object> event) {
|
|
//To change body of implemented methods use File | Settings | File Templates.
|
|
}
|
|
};
|
|
}
|
|
}
|
|
} |