Instance Methodswift-algorithms 1.2.1Algorithms
next
AdjacentPairs.swift:102mutating func next() -> Element?
mutating func next() -> Element?
s10Algorithms21AdjacentPairsSequenceV8IteratorV4next7ElementQz_AHtSgyF
What are these?427XZ
import Algorithms
Swift Algorithms is an open-source package of sequence and collection algorithms, along with their related types.
struct Iterator
The iterator for an AdjacentPairsSequence
or AdjacentPairsCollection
instance.
struct AdjacentPairsSequence<Base> where Base : Sequence
A sequence of adjacent pairs of elements built from an underlying sequence.
typealias Element = (Base.Element, Base.Element)