MatrixBufferIterator
final class MatrixBufferIterator<Type>(values:Type[_,_]) < Iterator<Buffer>
Iterator over the rows of a matrix, that wraps each row in a Buffer object.
- values: Values.
Factory Functions
Name | Description |
---|---|
MatrixBufferIterator | Create a MatrixBufferIterator. |
Member Variables
Name | Description |
---|---|
values:Type[_,_] | Values. |
i:Integer | Current index into the rows of the matrix. |
Member Functions
Name | Description |
---|---|
hasNext | Is there a next element? |
next | Get the next element. |
Factory Function Details
function MatrixBufferIterator<Type>(values:Type[_,_]) -> MatrixBufferIterator<Type>
Create a MatrixBufferIterator.
Member Function Details
hasNext
function hasNext() -> Boolean
Is there a next element?
next
function next() -> Buffer
Get the next element.