mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 15:50:53 +07:00
10 lines
280 B
Java
10 lines
280 B
Java
// "Replace Stream API chain with loop" "true-preview"
|
|
|
|
import java.util.Arrays;
|
|
import java.util.List;
|
|
|
|
public class Main {
|
|
public boolean testCond(List<String> list) {
|
|
return !list.stream().<caret>anyMatch(String::isEmpty) && list.stream().anyMatch(Objects::isNull);
|
|
}
|
|
} |