app/src/main/java/sudoku/Solver.java
public boolean isValid(int r , int c) {
        assertIsWithinBounds(r, c);
        return isUniqueArray(getRow(r)) &&
               isUniqueArray(getCol(c)) &&
               isUniqueArray(getBox(r, c));
    }
/**
     * Check sudoku rules for row r, column c.
     * 
     * Bounds are checked with assertIsWithinBounds. 
     *
     * @param r
     *        the row
     * @param c
     *        the column
     * @return true if all sudoku rules are true for the position,
     *         false otherwise
     * @throws IllegalArgumentException
     *         if assertIsWithinBounds throws it
     */
Check sudoku rules for row r, column c.

Bounds are checked with assertIsWithinBounds.

@param r
the row
@param c
the column
@return true if all sudoku rules are true for the position,
false otherwise
@throws IllegalArgumentException
if assertIsWithinBounds throws it
Check sudoku rules for row r column c . Bounds are checked with assertIsWithinBounds . @param r the row @param c the column @return true if all sudoku rules are true for the position false otherwise @throws IllegalArgumentException if assertIsWithinBounds throws it
public boolean isValid(int r , int c) {
        assertIsWithinBounds(r, c);
        return isUniqueArray(getRow(r)) &&
               isUniqueArray(getCol(c)) &&
               isUniqueArray(getBox(r, c));
    }
public boolean isValid ( int r , int c ) { assertIsWithinBounds ( r , c ) ; return isUniqueArray ( getRow ( r ) ) && isUniqueArray ( getCol ( c ) ) && isUniqueArray ( getBox ( r , c ) ) ; }
Check sudoku rules for row r, column c.
Check sudoku rules for row r column c .