Skip to content

ArrayBufferIterator


final class ArrayBufferIterator(values:Buffer[_]) < Iterator<Buffer>

Iterator over the contents of a Buffer that represents an array (in the JSON sense).

  • values: Values.

Member Variables

Name Description
values:Buffer[_] Values.
i:Integer Current index into the vector.

Member Functions

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

Member Function Details

hasNext

function hasNext() -> Boolean

Is there a next element?

next

function next() -> Buffer

Get the next element.