mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-20 11:50:57 +07:00
8 lines
218 B
Java
8 lines
218 B
Java
// "Insert '.apply' to call functional interface method" "true-preview"
|
|
import java.util.function.Function;
|
|
|
|
public class Test {
|
|
public void test(Function<String, String> fn) {
|
|
String res = fn.apply("foo");
|
|
}
|
|
} |