Record Class GuiGridTrack.Repeat
java.lang.Object
java.lang.Record
com.render.api.gui.layout.GuiGridTrack.Repeat
- Record Components:
count- repetition counttracks- repeated track sequence
- All Implemented Interfaces:
GuiGridTrack
- Enclosing interface:
GuiGridTrack
public static record GuiGridTrack.Repeat(int count, List<GuiGridTrack> tracks)
extends Record
implements GuiGridTrack
Fixed repetition.
-
Nested Class Summary
Nested classes/interfaces inherited from interface GuiGridTrack
GuiGridTrack.Breadth, GuiGridTrack.MinMax, GuiGridTrack.Repeat -
Constructor Summary
ConstructorsConstructorDescriptionRepeat(int count, List<GuiGridTrack> tracks) Creates an instance of aRepeatrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintcount()Returns the value of thecountrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.tracks()Returns the value of thetracksrecord component.
-
Constructor Details
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
count
-
tracks
-