mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-23 07:50:55 +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());
|
|
}
|
|
} |