Initializer

init(_:)

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

Declaration 宣言

init(_ other: AnyBidirectionalCollection<Element>)

Discussion 解説

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