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