struct AnyCollection<Element>
Inheritance |
Collection, Sequence
View Protocol Hierarchy →
|
Associated Types |
Iterator = AnyIterator<Element>
Index = AnyIndex
IndexDistance = IntMax
|
Import |
import Swift |
Initializers
init<C where C : Collection, C.Indices : Collection, C.SubSequence : Collection, C.Indices.Index == C.Index, C.Indices.SubSequence == C.Indices, C.Iterator.Element == Element, C.SubSequence.Index == C.Index, C.SubSequence.Indices : Collection, C.SubSequence.SubSequence == C.SubSequence, C.Indices.Iterator.Element == C.Index, C.SubSequence.Indices.Index == C.Index, C.SubSequence.Indices.SubSequence == C.SubSequence.Indices, C.SubSequence.Iterator.Element == Element, C.SubSequence.Indices.Iterator.Element == C.Index>(_: C)
init<C where C : RandomAccessCollection, C.Indices : RandomAccessCollection, C.SubSequence : RandomAccessCollection, C.Indices.Index == C.Index, C.Indices.SubSequence == C.Indices, C.Iterator.Element == Element, C.SubSequence.Index == C.Index, C.SubSequence.Indices : RandomAccessCollection, C.SubSequence.SubSequence == C.SubSequence, C.Indices.Iterator.Element == C.Index, C.SubSequence.Indices.Index == C.Index, C.SubSequence.Indices.SubSequence == C.SubSequence.Indices, C.SubSequence.Iterator.Element == Element, C.SubSequence.Indices.Iterator.Element == C.Index>(_: C)
init<C where C : BidirectionalCollection, C.Indices : BidirectionalCollection, C.SubSequence : BidirectionalCollection, C.Indices.Index == C.Index, C.Indices.SubSequence == C.Indices, C.Iterator.Element == Element, C.SubSequence.Index == C.Index, C.SubSequence.Indices : BidirectionalCollection, C.SubSequence.SubSequence == C.SubSequence, C.Indices.Iterator.Element == C.Index, C.SubSequence.Indices.Index == C.Index, C.SubSequence.Indices.SubSequence == C.SubSequence.Indices, C.SubSequence.Iterator.Element == Element, C.SubSequence.Indices.Iterator.Element == C.Index>(_: C)
Instance Variables
Subscripts
Instance Methods
Conditionally Inherited Items
Where Base.Iterator == Iterator
Where Indices == DefaultIndices, Indices.Index == Index, Indices.IndexDistance == Int, Indices.Iterator == IndexingIterator>, Indices.SubSequence == DefaultIndices, Indices._Element == Index, Indices.IndexDistance.IntegerLiteralType == Int, Indices.IndexDistance.Stride == Int, Indices.IndexDistance._DisabledRangeIndex == Int._DisabledRangeIndex, Indices.Iterator.Element == Index, Indices.IndexDistance.Stride.IntegerLiteralType == Int
Where Iterator == IndexingIterator, Iterator.Element == _Element
Where Iterator == Self
Where Iterator.Element : Collection
Where Iterator.Element : Comparable
Where Iterator.Element : Equatable
Where Iterator.Element : Sequence
Where Iterator.Element == String
Where SubSequence : Sequence, SubSequence.SubSequence == SubSequence, SubSequence.Iterator.Element == Iterator.Element
Where SubSequence == Self
Where SubSequence == Slice, SubSequence.Index == Index, SubSequence.Iterator == IndexingIterator>, SubSequence.SubSequence == Slice, SubSequence._Element == _Element, SubSequence.Iterator.Element == _Element