mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-19 10:20:56 +07:00
10 lines
296 B
Java
10 lines
296 B
Java
// "Replace lambda with method reference" "true-preview"
|
|
import java.util.function.BiFunction;
|
|
import java.util.Arrays;
|
|
import java.util.List;
|
|
|
|
class Example {
|
|
public static void main(String[] args) {
|
|
BiFunction<String, String, List<String>> f3 = (a, b) -> Arrays.<caret>asList(a, b);
|
|
}
|
|
} |