Record Class GuiDrawRangePlan.Step
java.lang.Object
java.lang.Record
com.render.api.gui.internal.GuiDrawRangePlan.Step
- Enclosing class:
GuiDrawRangePlan
public static record GuiDrawRangePlan.Step(int start, int end, boolean boundaryAfter)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionStep(int start, int end, boolean boundaryAfter) Creates an instance of aSteprecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of theboundaryAfterrecord component.intend()Returns the value of theendrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intstart()Returns the value of thestartrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Step
public Step(int start, int end, boolean boundaryAfter) Creates an instance of aSteprecord class.- Parameters:
start- the value for thestartrecord componentend- the value for theendrecord componentboundaryAfter- the value for theboundaryAfterrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with thecomparemethod from their corresponding wrapper classes. -
start
public int start()Returns the value of thestartrecord component.- Returns:
- the value of the
startrecord component
-
end
public int end()Returns the value of theendrecord component.- Returns:
- the value of the
endrecord component
-
boundaryAfter
public boolean boundaryAfter()Returns the value of theboundaryAfterrecord component.- Returns:
- the value of the
boundaryAfterrecord component
-