Skip to content

VectorBufferIterator


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

Iterator over the elements of a vector, that wraps each element in a Buffer object.

  • values: Values.

Factory Functions

Name Description
VectorBufferIterator Create a VectorBufferIterator.

Member Variables

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

Member Functions

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

Factory Function Details

function VectorBufferIterator<Type>(values:Type[_]) -> VectorBufferIterator<Type>

Create a VectorBufferIterator.

Member Function Details

hasNext

function hasNext() -> Boolean

Is there a next element?

next

function next() -> Buffer

Get the next element.