Class Position
java.lang.Object
org.screamingsandals.simpleinventories.inventory.Position
- All Implemented Interfaces:
Cloneable
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
calculateNextPosition
(int nextPosition, int columns, int rows) int
calculateThatPosition
(int nextPosition, int columns, int rows) protected boolean
clone()
boolean
getRow()
getSkip()
int
hashCode()
void
setAbsolute
(@Nullable Supplier<Integer> absolute) Deprecated.void
void
setLinebreak
(@Nullable Supplier<BreakType> linebreak) void
setPagebreak
(@Nullable Supplier<BreakType> pagebreak) void
void
toString()
-
Constructor Details
-
Position
public Position()
-
-
Method Details
-
calculateThatPosition
public int calculateThatPosition(int nextPosition, int columns, int rows) -
calculateNextPosition
public int calculateNextPosition(int nextPosition, int columns, int rows) -
clone
-
getAbsolute
-
getRow
-
getColumn
-
getSkip
-
getLinebreak
-
getPagebreak
-
setRow
-
setColumn
-
setSkip
-
setLinebreak
-
setPagebreak
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-
setAbsolute
Deprecated.
-