Skip to content

RaggedArrayRowIterator


final class RaggedArrayRowIterator<Type>(o:RaggedArray<Type>) < Iterator<Type[_]>

Iterator over the rows of a RaggedArray.

  • o: Container.

Factory Functions

Name Description
RaggedArrayRowIterator Create a RaggedArrayRowIterator.

Member Variables

Name Description
o:RaggedArray<Type> Container.
i:Integer Current row index.

Member Functions

Name Description
hasNext Is there a next element?
next Get the next element.

Factory Function Details

function RaggedArrayRowIterator<Type>(o:RaggedArray<Type>) -> RaggedArrayRowIterator<Type>

Create a RaggedArrayRowIterator.

Member Function Details

hasNext

function hasNext() -> Boolean

Is there a next element?

next

function next() -> Type[_]

Get the next element.