mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-22 14:50:53 +07:00
21 lines
255 B
Java
21 lines
255 B
Java
interface Funct<caret>ional {
|
|
void run();
|
|
}
|
|
|
|
class Inheritor implements Functional {
|
|
@Override
|
|
public void run() {
|
|
|
|
}
|
|
}
|
|
|
|
class A {
|
|
void foo() {
|
|
Functional f = new Functional() {
|
|
@Override
|
|
public void run() {
|
|
|
|
}
|
|
};
|
|
}
|
|
} |