mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 08:50:57 +07:00
11 lines
259 B
Java
11 lines
259 B
Java
// "Insert '.test' to call functional interface method" "true-preview"
|
|
import java.util.function.Function;
|
|
import java.util.function.Predicate;
|
|
|
|
public class Test {
|
|
public void test(Predicate<String> predicate) {
|
|
if(predicate.test("foo")) {
|
|
|
|
}
|
|
}
|
|
} |