danmatrix / DanMatrixColumnsIterator
Defined in: src/iterators/danMatrixColumnsIterator.ts:6
The class DanMatrixColumnsIterator implements MatrixIterator interface and Iterable interface
T
MatrixIterator<T[]>Iterable<T[]>
new DanMatrixColumnsIterator<
T>(matrix):DanMatrixColumnsIterator<T>
Defined in: src/iterators/danMatrixColumnsIterator.ts:16
The public class constructor
DanMatrix<T>
the DanMatrix object
DanMatrixColumnsIterator<T>
[iterator]():
Iterator<T[]>
Defined in: src/iterators/danMatrixColumnsIterator.ts:75
A zero-argument function that returns an object, conforming to the Iterator Protocol. In Javascript/Typescript in order to be iterable, an object must implement the "@@iterator" method
Iterator<T[]>
an iterator object.
current():
T[] |undefined
Defined in: src/iterators/danMatrixColumnsIterator.ts:35
Get the current column, or return undefined if the iterator was not yet started
T[] | undefined
hasNext():
boolean
Defined in: src/iterators/danMatrixColumnsIterator.ts:59
Check if the iterator can return more columns
boolean
true if the iterator can return more columns, false if there are no columns left
next():
T[] |undefined
Defined in: src/iterators/danMatrixColumnsIterator.ts:47
Get the next column, or return undefined if the iterator's end was reached
T[] | undefined
rewind():
void
Defined in: src/iterators/danMatrixColumnsIterator.ts:66
Restart the iterator
void