Record Class FileIoSample
java.lang.Object
java.lang.Record
net.minecraft.util.profiling.jfr.sample.FileIoSample
- Record Components:
duration
-path
-bytes
-
- Mappings:
Namespace Name official axu
intermediary net/minecraft/class_6523
named net/minecraft/util/profiling/jfr/sample/FileIoSample
official a
intermediary comp_25
named duration
official b
intermediary comp_26
named path
official c
intermediary comp_27
named bytes
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
bytes()
Returns the value of thebytes
record component.duration()
Returns the value of theduration
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.path()
Returns the value of thepath
record component.static FileIoSample.Statistics
toStatistics
(Duration duration, List<FileIoSample> samples) final String
toString()
Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
FileIoSample
-
-
Method Details
-
toStatistics
- Mappings:
Namespace Name Mixin selector official a
Laxu;a(Ljava/time/Duration;Ljava/util/List;)Laxu$a;
intermediary method_38034
Lnet/minecraft/class_6523;method_38034(Ljava/time/Duration;Ljava/util/List;)Lnet/minecraft/class_6523$class_6524;
named toStatistics
Lnet/minecraft/util/profiling/jfr/sample/FileIoSample;toStatistics(Ljava/time/Duration;Ljava/util/List;)Lnet/minecraft/util/profiling/jfr/sample/FileIoSample$Statistics;
-
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 '=='. -
duration
Returns the value of theduration
record component.- Returns:
- the value of the
duration
record component
-
path
Returns the value of thepath
record component.- Returns:
- the value of the
path
record component
-
bytes
public long bytes()Returns the value of thebytes
record component.- Returns:
- the value of the
bytes
record component
-