mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-06-02 14:30:38 +07:00
13 lines
256 B
Java
13 lines
256 B
Java
// "Replace with reduce()" "true"
|
|
|
|
import java.util.*;
|
|
|
|
public class Main {
|
|
public void testConjunction() {
|
|
List<Boolean> booleans = new ArrayList<>();
|
|
boolean acc = true;
|
|
for <caret> (Boolean bool : booleans) {
|
|
acc &= bool;
|
|
}
|
|
}
|
|
} |