mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-06-01 01:50:37 +07:00
13 lines
253 B
Java
13 lines
253 B
Java
// "Replace with reduce()" "true"
|
|
|
|
import java.util.*;
|
|
|
|
public class Main {
|
|
public void testBitwiseAndReplacingLongInitializer() {
|
|
long[] arr = new long[]{1, 2, 3, 4};
|
|
long acc = -1l;
|
|
for <caret> (long i: arr) {
|
|
acc &= i;
|
|
}
|
|
}
|
|
} |