package com.github.rishihahs.wordsearchsolver.grid;

import java.awt.Point;

/**
 * 
 * Interface for defining a grid used to store the Wordsearch puzzle in.
 * 
 */
public interface Grid {

    /**
     * Gets the letter at a certain point
     * 
     * @param point
     *            The {@link java.awt.Point} at which the letter is at
     * @return The letter
     */
    public String getLetterAt(Point point);

    /**
     * Marks a letter as found
     * 
     * @param point
     *            The point of the letter that has been marked as found
     */
    public void markLetterAt(Point point);

    /**
     * Checks if the given point is a valid point on the current grid
     * 
     * @param point
     *            The point to check
     * @return Whether the point is valid
     */
    public boolean isValidLetter(Point point);

    /**
     * Gets the number of rows in the grid
     * 
     * @return The number of rows in the grid
     */
    public int getRows();

    /**
     * Gets the number of columns in the grid
     * 
     * @return The number of columns in the grid
     */
    public int getCols();

}

@@ -371,23 +371,16 @@
  */%0A    
-public 
 String g
@@ -396,32 +396,32 @@
 t(Point point);%0A
+
 %0A    /**%0A     * 
@@ -556,23 +556,16 @@
  */%0A    
-public 
 void mar
@@ -786,23 +786,16 @@
  */%0A    
-public 
 boolean 
@@ -936,31 +936,24 @@
      */%0A    
-public 
 int getRows(
@@ -1079,19 +1079,12 @@
  */%0A
+
     
-public 
 int 

Clean Up Interface