mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-21 04:50:58 +07:00
21 lines
277 B
Java
21 lines
277 B
Java
import java.util.function.*;
|
|
|
|
class A {
|
|
|
|
{
|
|
B<Double> local;
|
|
method(local = new B<>(new C<>((supplier) -> supplier.get())));
|
|
}
|
|
|
|
void method(B<?> value) {
|
|
}
|
|
|
|
}
|
|
|
|
class B<T> {
|
|
B(C<T> c) { }
|
|
}
|
|
|
|
class C<T> {
|
|
C(Function<Supplier<T>, T> f) { }
|
|
} |