mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-27 05:20:54 +07:00
21 lines
449 B
Java
21 lines
449 B
Java
class Boxi {
|
|
private interface Foo<T> {
|
|
T t();
|
|
}
|
|
|
|
{
|
|
Foo<String> a = new Foo<String>() {
|
|
public String t() {
|
|
return "a";
|
|
}
|
|
};
|
|
Foo<Integer> b = new Foo<Integer>() {
|
|
public Integer t() {
|
|
return <flown11>42;
|
|
}
|
|
};
|
|
|
|
int <caret>i = <flown1>b.t();
|
|
}
|
|
|
|
} |