Instance Method

next()

Advances to the next element and returns it, or nil if no next element exists.

Declaration

func next() -> Element?

Discussion

Once nil has been returned, all subsequent calls return nil.

Relationships

From Protocol