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