mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-23 07:14:21 +07:00
10 lines
267 B
Java
10 lines
267 B
Java
// "Replace !Stream.anyMatch(...) with noneMatch(...)" "true"
|
|
|
|
import java.util.*;
|
|
|
|
class Test {
|
|
public boolean testAnyMatch(List<List<String>> data) {
|
|
if(!data.stream().flatMap(Collection::stream).anyM<caret>atch(str -> str.isEmpty()))
|
|
return true;
|
|
}
|
|
} |