mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-19 01:09:52 +07:00
16 lines
448 B
Java
16 lines
448 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) {
|
|
//To change body of implemented methods use File | Settings | File Templates.
|
|
}
|
|
};
|
|
}
|
|
}
|
|
} |