mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 17:20:54 +07:00
12 lines
217 B
Java
12 lines
217 B
Java
// "Replace lambda with method reference" "true-preview"
|
|
import java.io.PrintStream;
|
|
import java.util.function.BiConsumer;
|
|
|
|
class Test {
|
|
{
|
|
BiConsumer<PrintStream, String> printer = PrintStream::println;
|
|
}
|
|
|
|
|
|
}
|