mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 23:39:39 +07:00
8 lines
186 B
Java
8 lines
186 B
Java
import java.util.function.Supplier;
|
|
|
|
class Test {
|
|
void foo() {
|
|
Supplier<String> stringSupplier = () -> "Hello, world";
|
|
System.out.println(stringSupplier.get());
|
|
}
|
|
} |