|Modifier and Type||Method and Description|
End visiting a matrix.
Start visiting a matrix.
Visit one matrix entry.
void start(int rows, int columns, int startRow, int endRow, int startColumn, int endColumn)
This method is called once before any entry of the matrix is visited.
rows- number of rows of the matrix
columns- number of columns of the matrix
startRow- Initial row index
endRow- Final row index (inclusive)
startColumn- Initial column index
endColumn- Final column index (inclusive)
void visit(int row, int column, T value)
row- row index of the entry
column- column index of the entry
value- current value of the entry
This method is called once after all entries of the matrix have been visited.
Copyright © 2016-2022 CS GROUP. All rights reserved.