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