mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-02 19:28:23 +07:00
9 lines
228 B
Java
9 lines
228 B
Java
// "Replace with anyMatch()" "true"
|
|
|
|
import java.util.List;
|
|
|
|
public class Main {
|
|
public void testAssignment(List<String> data) {
|
|
boolean found = data.stream().map(String::trim).allMatch(trimmed -> trimmed.isEmpty());
|
|
}
|
|
} |