mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-27 22:20:54 +07:00
22 lines
540 B
Java
22 lines
540 B
Java
class X {
|
|
{
|
|
Proc<String> procs = new Proc<String>() {
|
|
public void f(String s) {
|
|
//To change body of implemented methods use File | Settings | File Templates.
|
|
}
|
|
};
|
|
Proc<Integer> proci = new Proc<Integer>() {
|
|
public void f(Integer <caret>s) {
|
|
//To change body of implemented methods use File | Settings | File Templates.
|
|
}
|
|
};
|
|
|
|
procs.f("");
|
|
proci.f(<flown1>0);
|
|
}
|
|
}
|
|
|
|
interface Proc<T> {
|
|
void f(T t);
|
|
}
|