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