Contents
Record Class BufferBundle.MemoryReport.GridEntry
java.lang.Object
java.lang.Record
com.hypixel.hytale.builtin.hytalegenerator.engine.bufferbundle.BufferBundle.MemoryReport.GridEntry
- Enclosing class:
BufferBundle.MemoryReport
public static record BufferBundle.MemoryReport.GridEntry(MemInstrument.Report report, int bufferCount, @Nonnull BufferType bufferType)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionGridEntry(MemInstrument.Report report, int bufferCount, BufferType bufferType) Creates an instance of aGridEntryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of thebufferCountrecord component.Returns the value of thebufferTyperecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.report()Returns the value of thereportrecord component.final StringtoString()Returns a string representation of this record class.toString(int indentation)
-
Constructor Details
-
GridEntry
Creates an instance of aGridEntryrecord class.- Parameters:
report- the value for thereportrecord componentbufferCount- the value for thebufferCountrecord componentbufferType- the value for thebufferTyperecord component
-
-
Method Details
-
toString
-
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. -
report
Returns the value of thereportrecord component.- Returns:
- the value of the
reportrecord component
-
bufferCount
public int bufferCount()Returns the value of thebufferCountrecord component.- Returns:
- the value of the
bufferCountrecord component
-
bufferType
Returns the value of thebufferTyperecord component.- Returns:
- the value of the
bufferTyperecord component
-