Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Member group

.ctor

Declaring type: ArrayQueue<T>
Module: System.Collections
Assembly: System.Runtime.dll
Source file: ArrayQueue.rvn

Overloads / Variants

.ctor

init() -> void

Source file: ArrayQueue.rvn

Creates an empty collection.

.ctor

init(capacity: int) -> void

Source file: ArrayQueue.rvn

Creates an empty collection with initial capacity.

Parameters

Name Type Description
capacity Int32 Non-negative initial capacity. Negative capacity faults.

.ctor

init(items: Iterable<T>) -> void

Source file: ArrayQueue.rvn

Enqueues elements in enumeration order; the first input is removed first.

Parameters

Name Type Description
items Iterable<T> An iterable to consume once, including sequences and query results.

Remarks

Native development API. Eager shallow copy with independent storage. Enumeration order is preserved. Disposes the iterator on normal completion; provider Faults are terminal without guaranteed cleanup. No concurrent snapshot guarantee.