atCapacity

inline fun atCapacity(): Boolean

Tests whether this deque is currently at capacity, or in other words is the number of items in this deque equal to the size of the underlying data container.

If atCapacity returns true, adding more items to this deque will cause it to attempt to increase the size of its underlying data container.

Return

true if this deque is currently at capacity, otherwise false.