Skip to content
Snippets Groups Projects
Commit 446c447e authored by SAHIN Melis damla's avatar SAHIN Melis damla
Browse files

classes complete

parent b1b5be64
No related branches found
No related tags found
No related merge requests found
Pipeline #40966 failed
...@@ -18,13 +18,14 @@ public class ConstantCellInitializer<T> implements MatrixInitializer<Cell<T>> { ...@@ -18,13 +18,14 @@ public class ConstantCellInitializer<T> implements MatrixInitializer<Cell<T>> {
* *
* @param defaultValue the value stored in each cell. * @param defaultValue the value stored in each cell.
*/ */
private T defaultValue;
public ConstantCellInitializer(T defaultValue) { public ConstantCellInitializer(T defaultValue) {
//TODO: à compléter this.defaultValue = defaultValue;
} }
@Override @Override
public Cell<T> initialValueAt(Coordinate coordinate) { public Cell<T> initialValueAt(Coordinate coordinate) {
//TODO: à compléter return new Cell(defaultValue);
return null;
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment