Accessors

Accessors #

Accessor methods are designed to provide information about the quadrille or to create modified copies of it without altering the original quadrille.

These methods are strictly non-mutative and can be categorized into two types: query accessors, which provide information about the state of the quadrille, e.g., read(row, col), isNumber(row, col), isFilled(row, col); and, instance accessors which generate new quadrille instances based on the original, e.g., clone, row(row), ring(row, col).