SwiftprotocollibswiftCore
protocol Swift.Collection
Members 70
- associatedtype
associatedtype Index - associatedtype
associatedtype Indices - associatedtype
associatedtype SubSequence - func
Collection._advanceForward(_: A.Index, by: Int) -> A.Index - func
Collection._advanceForward(_: A.Index, by: Int, limitedBy: A.Index) -> A.Index? - func
Collection._copyToContiguousArray() -> ContiguousArray<A.Element> - func
method descriptor for Collection._customIndexOfEquatableElement(A.Element) -> A.Index?? - func
Collection._customIndexOfEquatableElement(A.Element) -> A.Index?? - func
method descriptor for Collection._customLastIndexOfEquatableElement(A.Element) -> A.Index?? - func
Collection._customLastIndexOfEquatableElement(A.Element) -> A.Index?? - func
method descriptor for Collection._failEarlyRangeCheck(_: A.Index, bounds: Range<A.Index>) -> () - func
method descriptor for Collection._failEarlyRangeCheck(_: A.Index, bounds: ClosedRange<A.Index>) -> () - func
method descriptor for Collection._failEarlyRangeCheck(_: Range<A.Index>, bounds: Range<A.Index>) -> () - func
Collection._failEarlyRangeCheck(_: A.Index, bounds: ClosedRange<A.Index>) -> () - func
Collection._failEarlyRangeCheck(_: A.Index, bounds: Range<A.Index>) -> () - func
Collection._failEarlyRangeCheck(_: Range<A.Index>, bounds: Range<A.Index>) -> () - func
method descriptor for Collection.distance(from: A.Index, to: A.Index) -> Int - func
Collection.distance(from: A.Index, to: A.Index) -> Int - func
Collection.distance<A where A1: BinaryInteger>(from: A.Index, to: A.Index) -> A1 - func
Collection.drop(while: (A.Element) throws -> Bool) throws -> A.SubSequence - func
Collection.dropFirst(Int) -> A.SubSequence - func
Collection.dropLast(Int) -> A.SubSequence - func
Collection.firstIndex(where: (A.Element) throws -> Bool) throws -> A.Index? - func
Collection< where A.Element: Equatable>.firstIndex(of: A.Element) -> A.Index? - func
Collection.flatMap((A.Element) throws -> String?) throws -> [String] - func
method descriptor for Collection.formIndex(after: inout A.Index) -> () - func
Collection.formIndex(after: inout A.Index) -> () - func
Collection.formIndex(_: inout A.Index, offsetBy: Int, limitedBy: A.Index) -> Bool - func
Collection.formIndex<A where A1: BinaryInteger>(_: inout A.Index, offsetBy: A1, limitedBy: A.Index) -> Bool - func
Collection.formIndex(_: inout A.Index, offsetBy: Int) -> () - func
Collection.formIndex<A where A1: BinaryInteger>(_: inout A.Index, offsetBy: A1) -> () - func
method descriptor for Collection.index(_: A.Index, offsetBy: Int) -> A.Index - func
method descriptor for Collection.index(_: A.Index, offsetBy: Int, limitedBy: A.Index) -> A.Index? - func
method descriptor for Collection.index(after: A.Index) -> A.Index - func
Collection.index(where: (A.Element) throws -> Bool) throws -> A.Index? - func
Collection.index(_: A.Index, offsetBy: Int, limitedBy: A.Index) -> A.Index? - func
Collection.index<A where A1: BinaryInteger>(_: A.Index, offsetBy: A1, limitedBy: A.Index) -> A.Index? - func
Collection.index(_: A.Index, offsetBy: Int) -> A.Index - func
Collection.index<A where A1: BinaryInteger>(_: A.Index, offsetBy: A1) -> A.Index - func
Collection< where A.Element: Equatable>.index(of: A.Element) -> A.Index? - func
Collection.indices(where: (A.Element) throws -> Bool) throws -> RangeSet<A.Index> - func
Collection< where A.Element: Equatable>.indices(of: A.Element) -> RangeSet<A.Index> - func
Collection< where A.Iterator == IndexingIterator<A>>.makeIterator() -> IndexingIterator<A> - func
Collection.map<A>((A.Element) throws -> A1) throws -> [A1] - func
Collection< where A == A.SubSequence>.popFirst() -> A.Element? - func
Collection.prefix(upTo: A.Index) -> A.SubSequence - func
Collection.prefix(while: (A.Element) throws -> Bool) throws -> A.SubSequence - func
Collection.prefix(through: A.Index) -> A.SubSequence - func
Collection.prefix(Int) -> A.SubSequence - func
Collection.randomElement() -> A.Element? - func
Collection.randomElement<A where A1: RandomNumberGenerator>(using: inout A1) -> A.Element? - func
Collection< where A == A.SubSequence>.removeFirst() -> A.Element - func
Collection< where A == A.SubSequence>.removeFirst(Int) -> () - func
Collection.removingSubranges(RangeSet<A.Index>) -> DiscontiguousSlice<A> - func
Collection.split(maxSplits: Int, omittingEmptySubsequences: Bool, whereSeparator: (A.Element) throws -> Bool) throws -> [A.SubSequence] - func
Collection< where A.Element: Equatable>.split(separator: A.Element, maxSplits: Int, omittingEmptySubsequences: Bool) -> [A.SubSequence] - func
Collection.suffix(from: A.Index) -> A.SubSequence - func
Collection.suffix(Int) -> A.SubSequence - subscript
method descriptor for Collection.subscript.getter : (Range<A.Index>) -> A.SubSequence - subscript
Collection.subscript.getter : <A where A1: RangeExpression, A.Index == A1.Bound>(A1) -> A.SubSequence - subscript
Collection.subscript.getter : ((UnboundedRange_) -> ()) -> A.SubSequence - subscript
Collection.subscript.getter : (RangeSet<A.Index>) -> DiscontiguousSlice<A> - subscript
Collection< where A.SubSequence == Slice<A>>.subscript.getter : (Range<A.Index>) -> Slice<A> - var
var count: Int { get } - var
var endIndex: A.Index { get } - var
var first: A.Element? { get } - var
var indices: A.Indices { get } - var
var isEmpty: Bool { get } - var
var startIndex: A.Index { get } - var
var underestimatedCount: Int { get }
Header
protocol Collection: Swift.Sequence where Self.Element == Self.SubSequence.Element, Self.Index: Swift.Comparable, Self.Index == Self.Indices.Element, Self.Indices: Swift.Collection, Self.Indices == Self.Indices.SubSequence, Self.SubSequence: Swift.Collection, Self.SubSequence == Self.SubSequence.SubSequence, Self.Indices.Element == Self.Indices.Index, Self.Indices.Index == Self.SubSequence.Index { associatedtype Index associatedtype SubSequence associatedtype Indices var count: Swift.Int { get } var endIndex: Self.Index { get } var indices: Self.Indices { get } var isEmpty: Swift.Bool { get } var startIndex: Self.Index { get } func _customIndexOfEquatableElement(_: Self.Element) -> Self.Index?? func _customLastIndexOfEquatableElement(_: Self.Element) -> Self.Index?? func index(_: Self.Index, offsetBy: Swift.Int) -> Self.Index func index(_: Self.Index, offsetBy: Swift.Int, limitedBy: Self.Index) -> Self.Index? func distance(from: Self.Index, to: Self.Index) -> Swift.Int func _failEarlyRangeCheck(_: Self.Index, bounds: Swift.Range<Self.Index>) func _failEarlyRangeCheck(_: Self.Index, bounds: Swift.ClosedRange<Self.Index>) func _failEarlyRangeCheck(_: Swift.Range<Self.Index>, bounds: Swift.Range<Self.Index>) func index(after: Self.Index) -> Self.Index func formIndex(after: inout Self.Index) subscript(_: Swift.Range<Self.Index>) -> Self.SubSequence { get } } extension Swift.Collection where Self.Indices == Swift.DefaultIndices<Self> { var indices: Swift.DefaultIndices<Self> { get } } extension Swift.Collection { var count: Swift.Int { get } var first: Self.Element? { get } var isEmpty: Swift.Bool { get } var underestimatedCount: Swift.Int { get } func removeFirst() -> Self.Element where Self == Self.SubSequence func removeFirst(_: Swift.Int) where Self == Self.SubSequence func popFirst() -> Self.Element? where Self == Self.SubSequence func firstIndex(where: (_: Self.Element) throws -> Swift.Bool) throws -> Self.Index? func randomElement() -> Self.Element? func randomElement<A1>(using: inout A1) -> Self.Element? where A1: Swift.RandomNumberGenerator func _advanceForward(_: Self.Index, by: Swift.Int) -> Self.Index func _advanceForward(_: Self.Index, by: Swift.Int, limitedBy: Self.Index) -> Self.Index? func removingSubranges(_: Swift.RangeSet<Self.Index>) -> Swift.DiscontiguousSlice<Self> func _failEarlyRangeCheck(_: Self.Index, bounds: Swift.ClosedRange<Self.Index>) func _failEarlyRangeCheck(_: Self.Index, bounds: Swift.Range<Self.Index>) func _failEarlyRangeCheck(_: Swift.Range<Self.Index>, bounds: Swift.Range<Self.Index>) func _copyToContiguousArray() -> Swift.ContiguousArray<Self.Element> func _customIndexOfEquatableElement(_: Self.Element) -> Self.Index?? func _customLastIndexOfEquatableElement(_: Self.Element) -> Self.Index?? func map<A1>(_: (_: Self.Element) throws -> A1) throws -> [A1] func drop(while: (_: Self.Element) throws -> Swift.Bool) throws -> Self.SubSequence func index(where: (_: Self.Element) throws -> Swift.Bool) throws -> Self.Index? func index(_: Self.Index, offsetBy: Swift.Int, limitedBy: Self.Index) -> Self.Index? func index<A1>(_: Self.Index, offsetBy: A1, limitedBy: Self.Index) -> Self.Index? where A1: Swift.BinaryInteger func index(_: Self.Index, offsetBy: Swift.Int) -> Self.Index func index<A1>(_: Self.Index, offsetBy: A1) -> Self.Index where A1: Swift.BinaryInteger func split(maxSplits: Swift.Int, omittingEmptySubsequences: Swift.Bool, whereSeparator: (_: Self.Element) throws -> Swift.Bool) throws -> [Self.SubSequence] func prefix(upTo: Self.Index) -> Self.SubSequence func prefix(while: (_: Self.Element) throws -> Swift.Bool) throws -> Self.SubSequence func prefix(through: Self.Index) -> Self.SubSequence func prefix(_: Swift.Int) -> Self.SubSequence func suffix(from: Self.Index) -> Self.SubSequence func suffix(_: Swift.Int) -> Self.SubSequence func flatMap(_: (_: Self.Element) throws -> Swift.String?) throws -> [Swift.String] func indices(where: (_: Self.Element) throws -> Swift.Bool) throws -> Swift.RangeSet<Self.Index> func distance(from: Self.Index, to: Self.Index) -> Swift.Int func distance<A1>(from: Self.Index, to: Self.Index) -> A1 where A1: Swift.BinaryInteger func dropLast(_: Swift.Int) -> Self.SubSequence func dropFirst(_: Swift.Int) -> Self.SubSequence func formIndex(after: inout Self.Index) func formIndex(_: inout Self.Index, offsetBy: Swift.Int, limitedBy: Self.Index) -> Swift.Bool func formIndex<A1>(_: inout Self.Index, offsetBy: A1, limitedBy: Self.Index) -> Swift.Bool where A1: Swift.BinaryInteger func formIndex(_: inout Self.Index, offsetBy: Swift.Int) func formIndex<A1>(_: inout Self.Index, offsetBy: A1) where A1: Swift.BinaryInteger func firstIndex(of: Self.Element) -> Self.Index? where Self.Element: Swift.Equatable func index(of: Self.Element) -> Self.Index? where Self.Element: Swift.Equatable func split(separator: Self.Element, maxSplits: Swift.Int, omittingEmptySubsequences: Swift.Bool) -> [Self.SubSequence] where Self.Element: Swift.Equatable func indices(of: Self.Element) -> Swift.RangeSet<Self.Index> where Self.Element: Swift.Equatable func makeIterator() -> Swift.IndexingIterator<Self> where Self.Iterator == Swift.IndexingIterator<Self> subscript<A1>(_: A1) -> Self.SubSequence where A1: Swift.RangeExpression, Self.Index == A1.Bound { get } subscript(_: (_: Swift.UnboundedRange_) -> ()) -> Self.SubSequence { get } subscript(_: Swift.RangeSet<Self.Index>) -> Swift.DiscontiguousSlice<Self> { get } subscript(_: Swift.Range<Self.Index>) -> Swift.Slice<Self> where Self.SubSequence == Swift.Slice<Self> { get } }