Skip to content


final class RaggedArrayElementIterator<Type>(o:RaggedArray<Type>, i:Integer) < Iterator<Type>

Iterator over the elements of a row in a RaggedArray.

  • o: Container.
  • i: Row index.

Factory Functions

Name Description
RaggedArrayElementIterator Create a RaggedArrayElementIterator.

Member Variables

Name Description
o:RaggedArray<Type> Container.
i:Integer Row index.
j:Integer Current column index.

Member Functions

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

Factory Function Details

function RaggedArrayElementIterator<Type>(o:RaggedArray<Type>, i:Integer) -> RaggedArrayElementIterator<Type>

Create a RaggedArrayElementIterator.

Member Function Details


function hasNext() -> Boolean

Is there a next element?


function next() -> Type

Get the next element.