Initializer

init(_:)

Creates an AnyRandomAccessCollection having the same underlying collection as other. AnyRandomAccessCollectionを作成します、otherと同じ基盤コレクションを持っています。

Declaration 宣言

init(_ other: AnyRandomAccessCollection<Element>)

Discussion 解説

Complexity: O(1) 計算量:O(1)