app/src/main/java/sudoku/Solver.java
public boolean isAllValid() {
        for (int r = 0; r < getDimension(); r++) {
            for (int c = 0; c < getDimension(); c++) {
                if (!isValid(r, c)) return false;
            }    
        }
        return true;
    }
/**
     * Check sudoku rules for the entire matrix.
     *
     * @return true if all sudoku rules are true for all positions,
     *         false otherwise 
     */
Check sudoku rules for the entire matrix.
@return true if all sudoku rules are true for all positions,
false otherwise
Check sudoku rules for the entire matrix . @return true if all sudoku rules are true for all positions false otherwise
public boolean isAllValid() {
        for (int r = 0; r < getDimension(); r++) {
            for (int c = 0; c < getDimension(); c++) {
                if (!isValid(r, c)) return false;
            }    
        }
        return true;
    }
public boolean isAllValid ( ) { for ( int r = 0 ; r < getDimension ( ) ; r ++ ) { for ( int c = 0 ; c < getDimension ( ) ; c ++ ) { if ( ! isValid ( r , c ) ) return false ; } } return true ; }
Check sudoku rules for the entire matrix.
Check sudoku rules for the entire matrix .