Record Class GuiCounterStyle.Range
java.lang.Object
java.lang.Record
com.render.api.gui.GuiCounterStyle.Range
- Record Components:
minimum- inclusive minimummaximum- inclusive maximum
- Enclosing class:
GuiCounterStyle
Inclusive valid range for a counter style.
-
Constructor Summary
ConstructorsConstructorDescriptionRange(int minimum, int maximum) Creates an instance of aRangerecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intmaximum()Returns the value of themaximumrecord component.intminimum()Returns the value of theminimumrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Range
-
-
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. -
minimum
-
maximum
-