next

inline operator fun <Element> KoneIterator<Element>.next(): Element(source)

Gets the next element moves forward and returns the got element. It is an operator function to use in for cycles.

Receiver

The used iterator.

Return

The next element that the operation steps over.

Type Parameters

Element

The type of elements in the iterator.