|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)
double visit(int row, int column, double 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 © 2003–2021 The Apache Software Foundation. All rights reserved.