Type of elements within source.
The source iterable.
Maximum number of elements retained by the resulting queue.
Optionalcomparator: EqualityComparator<TElement, TElement>Optional equality comparator used by the resulting queue.
A circular queue containing the most recent elements from source, bounded by capacity.
Materialises source into a circular queue using the implementation's default capacity.
Type of elements within source.
The source iterable.
Optionalcomparator: EqualityComparator<TElement, TElement>Optional equality comparator used by the resulting queue.
A circular queue containing the most recent elements from source, bounded by the default capacity.
Materialises source into a circular queue with the specified capacity.