mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-19 01:50:56 +07:00
14 lines
253 B
Java
14 lines
253 B
Java
import java.util.function.Function;
|
|
import java.util.stream.Stream;
|
|
|
|
class Test {
|
|
<K> void foo(Function<String, K> f1) {}
|
|
|
|
<T> Stream<T> bar(T ts) {
|
|
return null;
|
|
}
|
|
|
|
void f(){
|
|
foo(y -> bar(y.to<caret>String()).map(a -> a.length()));
|
|
}
|
|
} |