Skip to content
Snippets Groups Projects
Commit dd52af0f authored by dragapsy's avatar dragapsy
Browse files

Tache 3 (La methode HasNext()).

Test passé avec succès !
parent 80ffb187
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,10 @@ public class CellGridIterator implements Iterator<Cell> {
@Override
public boolean hasNext() {
return false;
if(rowIndex+1== cells.length){
return columnIndex<cells[rowIndex].length;
}
return rowIndex< cells.length;
}
@Override
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment