public class Position extends Object
Constructor and Description |
---|
Position(int row,
int col)
Constructs a new Position instance
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
getCol()
Returns the column of this position instance
|
int |
getRow()
Returns the row of this position instance
|
int |
hashCode() |
String |
toString() |
public Position(int row, int col)
row
- the position rowcol
- the position columnCopyright © 2020 Micro Focus. All rights reserved.