mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-01 09:04:15 +07:00
GitOrigin-RevId: e54db7c5b175b264ac37c28a0cdab8ffd194c93f
11 lines
277 B
Java
11 lines
277 B
Java
import java.util.function.*;
|
|
|
|
class InlineTest {
|
|
Predicate<String> getPredicate(int value) {
|
|
return str -> str.length() > value && <caret>checkString(str);
|
|
}
|
|
|
|
boolean checkString(String value) {
|
|
return value.startsWith("prefix") && value.endsWith("suffix");
|
|
}
|
|
} |