ensureCapacity(capacity)

An internal method of Deque that will grow the backing store if necessary.

On collections

Usage

  • ensureCapacity(capacity)

Related

  • grow(capacity)

    An implementation detail of a Deque that will increase the size of its backing store.