Class RowColLocation


  • public class RowColLocation
    extends java.lang.Object
    Simple class to return a row, column location.
    • Constructor Summary

      Constructors 
      Constructor Description
      RowColLocation​(int row, int col)
      Constructs a new RowColLocation with the given row and column.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int col()
      Returns the column.
      boolean equals​(java.lang.Object object)  
      int row()
      Returns the row.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • RowColLocation

        public RowColLocation​(int row,
                              int col)
        Constructs a new RowColLocation with the given row and column.
        Parameters:
        row - the row location
        col - the column location
    • Method Detail

      • row

        public int row()
        Returns the row.
      • col

        public int col()
        Returns the column.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        See Also:
        Object.toString()
      • equals

        public boolean equals​(java.lang.Object object)
        Overrides:
        equals in class java.lang.Object