mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-05 00:36:13 +07:00
GitOrigin-RevId: 2e4e2eb156dcf6e0a739d9efd8b75b398d14ff2f
11 lines
260 B
Java
11 lines
260 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::<caret>hello);
|
|
}
|
|
}
|