public final class SlotPos extends Object
| Constructor and Description |
|---|
SlotPos(int row,
int column)
ctor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
getColumn()
obtains the column row of
this |
int |
getRow()
obtains the row row of
this |
int |
hashCode() |
static @NotNull SlotPos |
of(int row,
int column)
creats a simple slot position instance.
|
String |
toString() |
public SlotPos(int row,
int column)
row - the row.column - the column.@NotNull public static @NotNull SlotPos of(int row, int column)
row - the row to create.column - the column to create.public int getRow()
thispublic int getColumn()
thisCopyright © 2021. All rights reserved.