mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-03 02:25:56 +07:00
GitOrigin-RevId: 516bb8355466a6f994c30692e1432353885d8b04
15 lines
313 B
Plaintext
15 lines
313 B
Plaintext
import java.util.function.*;
|
|
import java.util.*;
|
|
|
|
class InlineTest {
|
|
Predicate<List<String>> getPredicate(String pivot) {
|
|
return list -> {
|
|
if (list == null) return false;
|
|
for (String t : list) {
|
|
if (t.compareTo(pivot) > 0) return false;
|
|
}
|
|
return true;
|
|
};
|
|
}
|
|
|
|
} |