getAndMoveNext

Gets the next element in this iterator, moves forward, and returns the got element.

Receiver

The used iterator.

Return

The next element that the operation steps over.

Type Parameters

Element

The type of elements in the iterator.