Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## jchrest.lib
Class Square

    java.lang.Object
      jchrest.lib.Square

    public class Square

extends java.lang.Object

Square is a convenience class to hold a row and column.

Constructor Summary
`Square(int row, int column)` Constructor makes an instance from given row and column.

Method Summary
`int` | `getColumn()` Accessor method for the column.
`int` | `getRow()` Accessor method for the row.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Square

    public Square(int row,
                  int column)

  Constructor makes an instance from given row and column.

Method Detail

### getColumn

    public int getColumn()

  Accessor method for the column.

### getRow

    public int getRow()

  Accessor method for the row.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD