ArrayDeque and LinkedBlockingDeque
Just wondering why they made a LinkedBlockingDeque while the same non concurrent counterpart is an ArrayDeque which is backed on a resizable array. LinkedBlockingQueue use a set of nodes like a LinkedList (even though not implementing List ). I am aware of the possibility to use an ArrayBlockingQueue but what if one wanted to use an ArrayBlockingDeque ? Why is there not such an option? Thanks in advance. This May not be a proper question w.r.t stackoverflow. But i would Like to say something about these implementations. -> First thing We need to answer why we give Different implementations for