Package net.minecraft.util.crash
Record Class SuppressedExceptionsTracker.Entry
java.lang.Object
java.lang.Record
net.minecraft.util.crash.SuppressedExceptionsTracker.Entry
- Record Components:
timestampMs-location-cls-message-
- Enclosing class:
SuppressedExceptionsTracker
private static record SuppressedExceptionsTracker.Entry(long timestampMs, String location, Class<? extends Throwable> cls, String message)
extends Record
- Mappings:
Namespace Name named net/minecraft/util/crash/SuppressedExceptionsTracker$Entryintermediary net/minecraft/class_9843$class_9844official amn$anamed timestampMsintermediary comp_2900official anamed locationintermediary comp_2901official bnamed clsintermediary comp_2902official cnamed messageintermediary comp_2903official d
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncls()Returns the value of theclsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.location()Returns the value of thelocationrecord component.message()Returns the value of themessagerecord component.longReturns the value of thetimestampMsrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
timestampMs
private final long timestampMsThe field for thetimestampMsrecord component. -
location
The field for thelocationrecord component. -
cls
The field for theclsrecord component. -
message
The field for themessagerecord component.
-
-
Constructor Details
-
Entry
-
-
Method Details
-
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. -
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. -
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 '=='. -
timestampMs
public long timestampMs()Returns the value of thetimestampMsrecord component.- Returns:
- the value of the
timestampMsrecord component
-
location
Returns the value of thelocationrecord component.- Returns:
- the value of the
locationrecord component
-
cls
Returns the value of theclsrecord component.- Returns:
- the value of the
clsrecord component
-
message
Returns the value of themessagerecord component.- Returns:
- the value of the
messagerecord component
-