mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 08:50:57 +07:00
20 lines
342 B
Java
20 lines
342 B
Java
import java.util.Collection;
|
|
import java.util.function.Function;
|
|
import java.util.stream.Stream;
|
|
|
|
abstract class Foo {
|
|
{
|
|
map(Foo::bar);
|
|
map(a -> Foo.bar(a));
|
|
}
|
|
|
|
<R> Stream<R> map(Function<Class<?>, ? extends R> mapper) {
|
|
return null;
|
|
}
|
|
|
|
|
|
private static <T> Collection<T> bar(Class<T> baseClass) {
|
|
return null;
|
|
}
|
|
}
|