capacity The number of elements that a queue can hold. Declarationvar capacity: Int { get } See AlsoInspecting Queuesheadcountfullness