mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-22 08:34:11 +07:00
524c5a4c4d
(cherry picked from commit e7cf17fa45740d7f233ce426d9d78a3580399d8e)
9 lines
183 B
Java
9 lines
183 B
Java
import java.util.function.Function;
|
|
|
|
class Test {
|
|
static void foo(Function<? super String, ? extends Number> f) {}
|
|
|
|
static void test() {
|
|
foo((Object o) -> o.hashCode());
|
|
}
|
|
} |