ensure Capacity
Ensures that this deque has at least the given capacity allocated.
If the current capacity of this deque is less than the given value, the underlying container will be resized to have a capacity of at least minCapacity.
If the current capacity of this deque is already greater than or equal to the given value, this method does nothing.
Parameters
min Capacity
Minimum capacity this deque must have.