mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 15:50:53 +07:00
10 lines
252 B
Java
10 lines
252 B
Java
// "Create method 'nextFn'" "true-preview"
|
|
import java.util.function.Function;
|
|
|
|
class X {
|
|
void x() {
|
|
Function<Double, Character> fn1 = d -> String.valueOf(d)
|
|
.charAt(0);
|
|
Function<Double, Integer> fn = fn1.andThen(<caret>nextFn());
|
|
}
|
|
} |