Record Class VirtualListComponent.Stats
java.lang.Object
java.lang.Record
com.render.api.gui.VirtualListComponent.Stats
- Enclosing class:
VirtualListComponent<K,V>
public static record VirtualListComponent.Stats(int dataRows, int mountedRows, int retainedRows, int windowStart, int windowEnd, double contentHeight, long indexBuilds, long rowCreations, long rowBindings, long windowChanges)
extends Record
CPU/retention evidence. These counts do not establish GPU time or frame rate.
-
Constructor Summary
ConstructorsConstructorDescriptionStats(int dataRows, int mountedRows, int retainedRows, int windowStart, int windowEnd, double contentHeight, long indexBuilds, long rowCreations, long rowBindings, long windowChanges) Creates an instance of aStatsrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondoubleReturns the value of thecontentHeightrecord component.intdataRows()Returns the value of thedataRowsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.longReturns the value of theindexBuildsrecord component.intReturns the value of themountedRowsrecord component.intReturns the value of theretainedRowsrecord component.longReturns the value of therowBindingsrecord component.longReturns the value of therowCreationsrecord component.final StringtoString()Returns a string representation of this record class.longReturns the value of thewindowChangesrecord component.intReturns the value of thewindowEndrecord component.intReturns the value of thewindowStartrecord component.
-
Constructor Details
-
Stats
public Stats(int dataRows, int mountedRows, int retainedRows, int windowStart, int windowEnd, double contentHeight, long indexBuilds, long rowCreations, long rowBindings, long windowChanges) Creates an instance of aStatsrecord class.- Parameters:
dataRows- the value for thedataRowsrecord componentmountedRows- the value for themountedRowsrecord componentretainedRows- the value for theretainedRowsrecord componentwindowStart- the value for thewindowStartrecord componentwindowEnd- the value for thewindowEndrecord componentcontentHeight- the value for thecontentHeightrecord componentindexBuilds- the value for theindexBuildsrecord componentrowCreations- the value for therowCreationsrecord componentrowBindings- the value for therowBindingsrecord componentwindowChanges- the value for thewindowChangesrecord 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. -
dataRows
public int dataRows()Returns the value of thedataRowsrecord component.- Returns:
- the value of the
dataRowsrecord component
-
mountedRows
public int mountedRows()Returns the value of themountedRowsrecord component.- Returns:
- the value of the
mountedRowsrecord component
-
retainedRows
public int retainedRows()Returns the value of theretainedRowsrecord component.- Returns:
- the value of the
retainedRowsrecord component
-
windowStart
public int windowStart()Returns the value of thewindowStartrecord component.- Returns:
- the value of the
windowStartrecord component
-
windowEnd
public int windowEnd()Returns the value of thewindowEndrecord component.- Returns:
- the value of the
windowEndrecord component
-
contentHeight
public double contentHeight()Returns the value of thecontentHeightrecord component.- Returns:
- the value of the
contentHeightrecord component
-
indexBuilds
public long indexBuilds()Returns the value of theindexBuildsrecord component.- Returns:
- the value of the
indexBuildsrecord component
-
rowCreations
public long rowCreations()Returns the value of therowCreationsrecord component.- Returns:
- the value of the
rowCreationsrecord component
-
rowBindings
public long rowBindings()Returns the value of therowBindingsrecord component.- Returns:
- the value of the
rowBindingsrecord component
-
windowChanges
public long windowChanges()Returns the value of thewindowChangesrecord component.- Returns:
- the value of the
windowChangesrecord component
-