LinkedListIterator

public struct LinkedListIterator<T> : IteratorProtocol where T : Equatable

A class for iterating through a linked List

  • Returns the next element of the sequence

    Declaration

    Swift

    public mutating func next() -> T?