java - Why is Deque (ArrayDeque) capacity a power of two? - Stack Overflow

java - Why is Deque (ArrayDeque) capacity a power of two? - Stack Overflow

More to explore

Based on this image's title: “java - Why is Deque (ArrayDeque) capacity a power of two? - Stack Overflow