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