Member group
.ctor
Declaring type: ArrayStack<T>
Module: System.Collections
Assembly: System.Runtime.dll
Source file: ArrayStack.rvn
Overloads / Variants
.ctor
init() -> void
Source file: ArrayStack.rvn
Creates an empty collection.
.ctor
init(capacity: int) -> void
Source file: ArrayStack.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: ArrayStack.rvn
Pushes elements in enumeration order; the last 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. Constructing from a stack reverses its removal order. Disposes the iterator on normal completion; provider Faults are terminal without guaranteed cleanup. No concurrent snapshot guarantee.