put method
Implementation
void put(int x, int y, MatrixCell? item) {
if (this.height() <= y) {
this.extendHeight(y + 1);
}
if (this.width() <= x) {
this.extendWidth(x + 1);
}
this.s[y][x] = item;
}
void put(int x, int y, MatrixCell? item) {
if (this.height() <= y) {
this.extendHeight(y + 1);
}
if (this.width() <= x) {
this.extendWidth(x + 1);
}
this.s[y][x] = item;
}