Record Class FileIoSample
java.lang.Object
java.lang.Record
net.minecraft.util.profiling.jfr.sample.FileIoSample
- Record Components:
duration
-path
-bytes
-
- Mappings:
Namespace Name named net/minecraft/util/profiling/jfr/sample/FileIoSample
intermediary net/minecraft/class_6523
official bog
named duration
intermediary comp_25
official a
named path
intermediary comp_26
official b
named bytes
intermediary comp_27
official c
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
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 named toStatistics
Lnet/minecraft/util/profiling/jfr/sample/FileIoSample;toStatistics(Ljava/time/Duration;Ljava/util/List;)Lnet/minecraft/util/profiling/jfr/sample/FileIoSample$Statistics;
intermediary method_38034
Lnet/minecraft/class_6523;method_38034(Ljava/time/Duration;Ljava/util/List;)Lnet/minecraft/class_6523$class_6524;
official a
Lbog;a(Ljava/time/Duration;Ljava/util/List;)Lbog$a;
-
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
-