mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 13:39:36 +07:00
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());
|
|
}
|
|
} |