mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-22 11:13:36 +07:00
31990e349d
GitOrigin-RevId: 2ca51ee0d02ff7d36cd59efb8ce6b81af2372ea7
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());
|
|
}
|
|
} |