| // "Replace Stream.noneMatch(x -> !(...)) with allMatch(...)" "true" | |
| import java.util.*; | |
| class Test { | |
| public boolean testAnyMatch(List<List<String>> data) { | |
| if(data.stream().flatMap(Collection::stream).noneM<caret>atch(str -> !str.isEmpty())) | |
| return true; | |
| } | |
| } |