SwiftprotocollibswiftCore

protocol Swift.Collection

Members 70

  1. associatedtypeassociatedtype Index
  2. associatedtypeassociatedtype Indices
  3. associatedtypeassociatedtype SubSequence
  4. funcCollection._advanceForward(_: A.Index, by: Int) -> A.Index
  5. funcCollection._advanceForward(_: A.Index, by: Int, limitedBy: A.Index) -> A.Index?
  6. funcCollection._copyToContiguousArray() -> ContiguousArray<A.Element>
  7. funcmethod descriptor for Collection._customIndexOfEquatableElement(A.Element) -> A.Index??
  8. funcCollection._customIndexOfEquatableElement(A.Element) -> A.Index??
  9. funcmethod descriptor for Collection._customLastIndexOfEquatableElement(A.Element) -> A.Index??
  10. funcCollection._customLastIndexOfEquatableElement(A.Element) -> A.Index??
  11. funcmethod descriptor for Collection._failEarlyRangeCheck(_: A.Index, bounds: Range<A.Index>) -> ()
  12. funcmethod descriptor for Collection._failEarlyRangeCheck(_: A.Index, bounds: ClosedRange<A.Index>) -> ()
  13. funcmethod descriptor for Collection._failEarlyRangeCheck(_: Range<A.Index>, bounds: Range<A.Index>) -> ()
  14. funcCollection._failEarlyRangeCheck(_: A.Index, bounds: ClosedRange<A.Index>) -> ()
  15. funcCollection._failEarlyRangeCheck(_: A.Index, bounds: Range<A.Index>) -> ()
  16. funcCollection._failEarlyRangeCheck(_: Range<A.Index>, bounds: Range<A.Index>) -> ()
  17. funcmethod descriptor for Collection.distance(from: A.Index, to: A.Index) -> Int
  18. funcCollection.distance(from: A.Index, to: A.Index) -> Int
  19. funcCollection.distance<A where A1: BinaryInteger>(from: A.Index, to: A.Index) -> A1
  20. funcCollection.drop(while: (A.Element) throws -> Bool) throws -> A.SubSequence
  21. funcCollection.dropFirst(Int) -> A.SubSequence
  22. funcCollection.dropLast(Int) -> A.SubSequence
  23. funcCollection.firstIndex(where: (A.Element) throws -> Bool) throws -> A.Index?
  24. funcCollection< where A.Element: Equatable>.firstIndex(of: A.Element) -> A.Index?
  25. funcCollection.flatMap((A.Element) throws -> String?) throws -> [String]
  26. funcmethod descriptor for Collection.formIndex(after: inout A.Index) -> ()
  27. funcCollection.formIndex(after: inout A.Index) -> ()
  28. funcCollection.formIndex(_: inout A.Index, offsetBy: Int, limitedBy: A.Index) -> Bool
  29. funcCollection.formIndex<A where A1: BinaryInteger>(_: inout A.Index, offsetBy: A1, limitedBy: A.Index) -> Bool
  30. funcCollection.formIndex(_: inout A.Index, offsetBy: Int) -> ()
  31. funcCollection.formIndex<A where A1: BinaryInteger>(_: inout A.Index, offsetBy: A1) -> ()
  32. funcmethod descriptor for Collection.index(_: A.Index, offsetBy: Int) -> A.Index
  33. funcmethod descriptor for Collection.index(_: A.Index, offsetBy: Int, limitedBy: A.Index) -> A.Index?
  34. funcmethod descriptor for Collection.index(after: A.Index) -> A.Index
  35. funcCollection.index(where: (A.Element) throws -> Bool) throws -> A.Index?
  36. funcCollection.index(_: A.Index, offsetBy: Int, limitedBy: A.Index) -> A.Index?
  37. funcCollection.index<A where A1: BinaryInteger>(_: A.Index, offsetBy: A1, limitedBy: A.Index) -> A.Index?
  38. funcCollection.index(_: A.Index, offsetBy: Int) -> A.Index
  39. funcCollection.index<A where A1: BinaryInteger>(_: A.Index, offsetBy: A1) -> A.Index
  40. funcCollection< where A.Element: Equatable>.index(of: A.Element) -> A.Index?
  41. funcCollection.indices(where: (A.Element) throws -> Bool) throws -> RangeSet<A.Index>
  42. funcCollection< where A.Element: Equatable>.indices(of: A.Element) -> RangeSet<A.Index>
  43. funcCollection< where A.Iterator == IndexingIterator<A>>.makeIterator() -> IndexingIterator<A>
  44. funcCollection.map<A>((A.Element) throws -> A1) throws -> [A1]
  45. funcCollection< where A == A.SubSequence>.popFirst() -> A.Element?
  46. funcCollection.prefix(upTo: A.Index) -> A.SubSequence
  47. funcCollection.prefix(while: (A.Element) throws -> Bool) throws -> A.SubSequence
  48. funcCollection.prefix(through: A.Index) -> A.SubSequence
  49. funcCollection.prefix(Int) -> A.SubSequence
  50. funcCollection.randomElement() -> A.Element?
  51. funcCollection.randomElement<A where A1: RandomNumberGenerator>(using: inout A1) -> A.Element?
  52. funcCollection< where A == A.SubSequence>.removeFirst() -> A.Element
  53. funcCollection< where A == A.SubSequence>.removeFirst(Int) -> ()
  54. funcCollection.removingSubranges(RangeSet<A.Index>) -> DiscontiguousSlice<A>
  55. funcCollection.split(maxSplits: Int, omittingEmptySubsequences: Bool, whereSeparator: (A.Element) throws -> Bool) throws -> [A.SubSequence]
  56. funcCollection< where A.Element: Equatable>.split(separator: A.Element, maxSplits: Int, omittingEmptySubsequences: Bool) -> [A.SubSequence]
  57. funcCollection.suffix(from: A.Index) -> A.SubSequence
  58. funcCollection.suffix(Int) -> A.SubSequence
  59. subscriptmethod descriptor for Collection.subscript.getter : (Range<A.Index>) -> A.SubSequence
  60. subscriptCollection.subscript.getter : <A where A1: RangeExpression, A.Index == A1.Bound>(A1) -> A.SubSequence
  61. subscriptCollection.subscript.getter : ((UnboundedRange_) -> ()) -> A.SubSequence
  62. subscriptCollection.subscript.getter : (RangeSet<A.Index>) -> DiscontiguousSlice<A>
  63. subscriptCollection< where A.SubSequence == Slice<A>>.subscript.getter : (Range<A.Index>) -> Slice<A>
  64. varvar count: Int { get }
  65. varvar endIndex: A.Index { get }
  66. varvar first: A.Element? { get }
  67. varvar indices: A.Indices { get }
  68. varvar isEmpty: Bool { get }
  69. varvar startIndex: A.Index { get }
  70. varvar underestimatedCount: Int { get }
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
    }
}