Initializer

init(_:)

Creates an AnyCollection having the same underlying collection as other.

Declaration

init(_ other: AnyRandomAccessCollection<Element>)

Discussion

Complexity: O(1)