mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-23 16:20:55 +07:00
9 lines
235 B
Java
9 lines
235 B
Java
import java.util.function.Function;
|
|
|
|
class Test {
|
|
String string;
|
|
void useThis() {
|
|
Function<String, String> stringStringFunction = string -> string;
|
|
System.out.println(stringStringFunction.apply(string));
|
|
}
|
|
} |