Record Class GuiHighlightRegistry.Range
java.lang.Object
java.lang.Record
com.render.api.gui.GuiHighlightRegistry.Range
- Record Components:
startUtf16- inclusive startendUtf16- exclusive end
- Enclosing class:
GuiHighlightRegistry
One source UTF-16 interval.
-
Constructor Summary
ConstructorsConstructorDescriptionRange(int startUtf16, int endUtf16) Creates an instance of aRangerecord class. -
Method Summary
Modifier and TypeMethodDescriptionintendUtf16()Returns the value of theendUtf16record component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of thestartUtf16record component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Range
public Range(int startUtf16, int endUtf16) Creates an instance of aRangerecord class.- Parameters:
startUtf16- the value for thestartUtf16record componentendUtf16- the value for theendUtf16record 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. -
startUtf16
public int startUtf16()Returns the value of thestartUtf16record component.- Returns:
- the value of the
startUtf16record component
-
endUtf16
-