SwiftprotocolGRDBInternal

protocol GRDBInternal.Cursor

Members 31

  1. associatedtypeassociatedtype Element
  2. funccompactMap<A>((A.Element) throws -> A1?) -> GRDBInternal.MapCursor<GRDBInternal.FilterCursor<GRDBInternal.MapCursor<A, A1?>>, A1>
  3. funccontains(where: (A.Element) throws -> Bool) throws -> Bool
  4. funcGRDBInternal.Cursor< where A.Element: Equatable>.contains(A.Element) throws -> Bool
  5. funcdrop(while: (A.Element) throws -> Bool) -> GRDBInternal.DropWhileCursor<A>
  6. funcdropFirst() -> GRDBInternal.DropFirstCursor<A>
  7. funcdropFirst(Int) -> GRDBInternal.DropFirstCursor<A>
  8. funcdropLast() throws -> [A.Element]
  9. funcdropLast(Int) throws -> [A.Element]
  10. funcenumerated() -> GRDBInternal.EnumeratedCursor<A>
  11. funcfilter((A.Element) throws -> Bool) -> GRDBInternal.FilterCursor<A>
  12. funcfirst(where: (A.Element) throws -> Bool) throws -> A.Element?
  13. funcflatMap<A where A1: Sequence>((A.Element) throws -> A1) -> GRDBInternal.FlattenCursor<GRDBInternal.MapCursor<A, GRDBInternal.AnyCursor<A1.Element>>>
  14. funcflatMap<A where A1: GRDBInternal.Cursor>((A.Element) throws -> A1) -> GRDBInternal.FlattenCursor<GRDBInternal.MapCursor<A, A1>>
  15. funcmethod descriptor for forEach((A.Element) throws -> ()) throws -> ()
  16. funcforEach((A.Element) throws -> ()) throws -> ()
  17. funcisEmpty() throws -> Bool
  18. funcGRDBInternal.Cursor< where A.Element: GRDBInternal.Cursor>.joined() -> GRDBInternal.FlattenCursor<A>
  19. funcGRDBInternal.Cursor< where A.Element: Sequence>.joined() -> GRDBInternal.FlattenCursor<GRDBInternal.MapCursor<A, GRDBInternal.AnyCursor<A.Element.Element>>>
  20. funcGRDBInternal.Cursor< where A.Element: StringProtocol>.joined(separator: String) throws -> String
  21. funcmap<A>((A.Element) throws -> A1) -> GRDBInternal.MapCursor<A, A1>
  22. funcmax(by: (A.Element, A.Element) throws -> Bool) throws -> A.Element?
  23. funcGRDBInternal.Cursor< where A.Element: Comparable>.max() throws -> A.Element?
  24. funcmin(by: (A.Element, A.Element) throws -> Bool) throws -> A.Element?
  25. funcGRDBInternal.Cursor< where A.Element: Comparable>.min() throws -> A.Element?
  26. funcmethod descriptor for next() throws -> A.Element?
  27. funcprefix(while: (A.Element) throws -> Bool) -> GRDBInternal.PrefixWhileCursor<A>
  28. funcprefix(Int) -> GRDBInternal.PrefixCursor<A>
  29. funcreduce<A>(into: A1, _: (inout A1, A.Element) throws -> ()) throws -> A1
  30. funcreduce<A>(A1, (A1, A.Element) throws -> A1) throws -> A1
  31. funcsuffix(Int) throws -> [A.Element]
protocol Cursor: AnyObject {
    associatedtype Element

    func next() throws -> Self.Element?
    func forEach(_: (_: Self.Element) throws -> ()) throws
}
extension GRDBInternal.Cursor {
    func joined() -> GRDBInternal.FlattenCursor<Self> where Self.Element: GRDBInternal.Cursor
    func compactMap<A1>(_: @escaping (_: Self.Element) throws -> A1?) -> GRDBInternal.MapCursor<GRDBInternal.FilterCursor<GRDBInternal.MapCursor<Self, A1?>>, A1>
    func enumerated() -> GRDBInternal.EnumeratedCursor<Self>
    func map<A1>(_: @escaping (_: Self.Element) throws -> A1) -> GRDBInternal.MapCursor<Self, A1>
    func max(by: (Self.Element, Self.Element) throws -> Swift.Bool) throws -> Self.Element?
    func min(by: (Self.Element, Self.Element) throws -> Swift.Bool) throws -> Self.Element?
    func drop(while: @escaping (_: Self.Element) throws -> Swift.Bool) -> GRDBInternal.DropWhileCursor<Self>
    func first(where: (_: Self.Element) throws -> Swift.Bool) throws -> Self.Element?
    func filter(_: @escaping (_: Self.Element) throws -> Swift.Bool) -> GRDBInternal.FilterCursor<Self>
    func prefix(while: @escaping (_: Self.Element) throws -> Swift.Bool) -> GRDBInternal.PrefixWhileCursor<Self>
    func prefix(_: Swift.Int) -> GRDBInternal.PrefixCursor<Self>
    func reduce<A1>(into: A1, _: (inout A1, Self.Element) throws -> ()) throws -> A1
    func reduce<A1>(_: A1, _: (A1, Self.Element) throws -> A1) throws -> A1
    func suffix(_: Swift.Int) throws -> [Self.Element]
    func flatMap<A1>(_: @escaping (_: Self.Element) throws -> A1) -> GRDBInternal.FlattenCursor<GRDBInternal.MapCursor<Self, GRDBInternal.AnyCursor<A1.Element>>> where A1: Swift.Sequence
    func flatMap<A1>(_: @escaping (_: Self.Element) throws -> A1) -> GRDBInternal.FlattenCursor<GRDBInternal.MapCursor<Self, A1>> where A1: GRDBInternal.Cursor
    func forEach(_: (_: Self.Element) throws -> ()) throws
    func isEmpty() throws -> Swift.Bool
    func contains(where: (_: Self.Element) throws -> Swift.Bool) throws -> Swift.Bool
    func dropLast() throws -> [Self.Element]
    func dropLast(_: Swift.Int) throws -> [Self.Element]
    func dropFirst() -> GRDBInternal.DropFirstCursor<Self>
    func dropFirst(_: Swift.Int) -> GRDBInternal.DropFirstCursor<Self>
    func max() throws -> Self.Element? where Self.Element: Swift.Comparable
    func min() throws -> Self.Element? where Self.Element: Swift.Comparable
    func contains(_: Self.Element) throws -> Swift.Bool where Self.Element: Swift.Equatable
    func joined() -> GRDBInternal.FlattenCursor<GRDBInternal.MapCursor<Self, GRDBInternal.AnyCursor<Self.Element.Element>>> where Self.Element: Swift.Sequence
    func joined(separator: Swift.String) throws -> Swift.String where Self.Element: Swift.StringProtocol
}