| Modifier and Type | Method and Description |
|---|---|
| public T | |
| public void | start(int
number of rows of the matrix rows, int number of columns of the matrix columns, int Initial row index startRow, int Final row index (inclusive) endRow, int Initial column index startColumn, int Final column index (inclusive) endColumn)Start visiting a matrix. |
| public T | Returns: the new value to be set for the entryrow index of the entry row, int column index of the entry column, T current value of the entry value)Visit one matrix entry. |
| end | back to summary |
|---|---|
| public T end() End visiting a matrix. This method is called once after all entries of the matrix have been visited.
| |
| start | back to summary |
|---|---|
| public void start(int rows, int columns, int startRow, int endRow, int startColumn, int endColumn) Start visiting a matrix. This method is called once before any entry of the matrix is visited.
| |
| visit | back to summary |
|---|---|
| public T visit(int row, int column, T value) Visit one matrix entry.
| |