Instance Method

next()

No overview available.

Declaration

mutating func next() -> Elements.Element?

Relationships

From Protocol

See Also

Iterating over the Collection

func enumerated() -> EnumeratedSequence<Entity.ChildCollection.IndexingIterator<Elements>>

Returns a sequence of pairs (n, x), where n represents a consecutive integer starting at zero and x represents an element of the sequence.

func forEach((Elements.Element) -> Void)

Calls the given closure on each element in the sequence in the same order as a for-in loop.

func makeIterator() -> Entity.ChildCollection.IndexingIterator<Elements>

Returns an iterator over the elements of this sequence.

var underestimatedCount: Int

A value less than or equal to the number of elements in the sequence, calculated nondestructively.