Skip to content
Snippets Groups Projects
Commit 5102446e authored by RAKOTOARISOA Andrianinarisaina cy's avatar RAKOTOARISOA Andrianinarisaina cy
Browse files

Tâche 3 (6.2) : Implémentation des méthodes "public Cell next()" et "public...

Tâche 3 (6.2) : Implémentation des méthodes "public Cell next()" et "public boolean hasNext()" dans la classe CellGridIterator
parent e07b17ba
No related branches found
No related tags found
No related merge requests found
......@@ -10,15 +10,18 @@ public class CellGridIterator implements Iterator<Cell> {
grid = new ArrayGrid[]{} ;
}
//Méthode à implémenter
//Méthode à implémenter, demandée par l'exercice
//Renvoie true s’il reste des cases à parcourir et false sinon
@Override
public boolean hasNext() {
return false;
}
//Méthode à implémenter
//Méthode à implémenter, demandée par l'exercice
//Renvoie la prochaine case à parcourir
@Override
public Cell next() {
return null;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment