mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-06-01 06:54:49 +07:00
13 lines
237 B
Java
13 lines
237 B
Java
// "Replace with reduce()" "true"
|
|
|
|
import java.util.*;
|
|
|
|
public class Main {
|
|
public void testBitwiseAndHighestBit() {
|
|
int[] arr = {0x80000000, 0xffffffff};
|
|
int acc = -1;
|
|
for <caret> (int i: arr) {
|
|
acc &= i;
|
|
}
|
|
}
|
|
} |