BTreeIterator
public struct BTreeIterator<Key: Comparable, Value>: IteratorProtocol
An iterator for all elements stored in a B-tree, in ascending key order.
-
Advance to the next element and return it, or return
nilif no next element exists.Complexity
Amortized O(1)Declaration
Swift
public mutating func next() -> Element?
View on GitHub
Install in Dash
BTreeIterator Struct Reference