mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
15 lines
334 B
Java
15 lines
334 B
Java
// "Create method 'hello'" "true"
|
|
|
|
import java.util.function.BiFunction;
|
|
|
|
class X {
|
|
void x() {
|
|
BiFunction<String, Integer, Double> fn = (s, i) -> ((double)s.length())/i;
|
|
BiFunction<String, Integer, Character> fn2 = fn.andThen(X::hello);
|
|
}
|
|
|
|
private static Character hello(Double aDouble) {
|
|
return null;
|
|
}
|
|
}
|