blob: 960555bfce8899720d27dfd8a4aef64ee442859f [file]
// "Replace !Stream.allMatch(x -> !(...)) with anyMatch(...)" "true"
import java.util.*;
class Test {
public boolean testAnyMatch(List<List<String>> data) {
if(data.stream().flatMap(Collection::stream).anyMatch(str -> str.isEmpty()))
return true;
}
}