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

    Constructors
    Constructor
    Description
    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 a Stats record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    Returns the value of the contentHeight record component.
    int
    Returns the value of the dataRows record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    final int
    Returns a hash code value for this object.
    long
    Returns the value of the indexBuilds record component.
    int
    Returns the value of the mountedRows record component.
    int
    Returns the value of the retainedRows record component.
    long
    Returns the value of the rowBindings record component.
    long
    Returns the value of the rowCreations record component.
    final String
    Returns a string representation of this record class.
    long
    Returns the value of the windowChanges record component.
    int
    Returns the value of the windowEnd record component.
    int
    Returns the value of the windowStart record component.

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • 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 a Stats record class.
      Parameters:
      dataRows - the value for the dataRows record component
      mountedRows - the value for the mountedRows record component
      retainedRows - the value for the retainedRows record component
      windowStart - the value for the windowStart record component
      windowEnd - the value for the windowEnd record component
      contentHeight - the value for the contentHeight record component
      indexBuilds - the value for the indexBuilds record component
      rowCreations - the value for the rowCreations record component
      rowBindings - the value for the rowBindings record component
      windowChanges - the value for the windowChanges record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 the compare method from their corresponding wrapper classes.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • dataRows

      public int dataRows()
      Returns the value of the dataRows record component.
      Returns:
      the value of the dataRows record component
    • mountedRows

      public int mountedRows()
      Returns the value of the mountedRows record component.
      Returns:
      the value of the mountedRows record component
    • retainedRows

      public int retainedRows()
      Returns the value of the retainedRows record component.
      Returns:
      the value of the retainedRows record component
    • windowStart

      public int windowStart()
      Returns the value of the windowStart record component.
      Returns:
      the value of the windowStart record component
    • windowEnd

      public int windowEnd()
      Returns the value of the windowEnd record component.
      Returns:
      the value of the windowEnd record component
    • contentHeight

      public double contentHeight()
      Returns the value of the contentHeight record component.
      Returns:
      the value of the contentHeight record component
    • indexBuilds

      public long indexBuilds()
      Returns the value of the indexBuilds record component.
      Returns:
      the value of the indexBuilds record component
    • rowCreations

      public long rowCreations()
      Returns the value of the rowCreations record component.
      Returns:
      the value of the rowCreations record component
    • rowBindings

      public long rowBindings()
      Returns the value of the rowBindings record component.
      Returns:
      the value of the rowBindings record component
    • windowChanges

      public long windowChanges()
      Returns the value of the windowChanges record component.
      Returns:
      the value of the windowChanges record component