Package net.minecraft.util.path
Record Class CacheFiles.CacheFile
java.lang.Object
java.lang.Record
net.minecraft.util.path.CacheFiles.CacheFile
- Record Components:
path
-modifiedTime
-
- Enclosing class:
CacheFiles
- Mappings:
Namespace Name named net/minecraft/util/path/CacheFiles$CacheFile
intermediary net/minecraft/class_9055$class_9057
official asc$b
named path
intermediary comp_2170
official b
named modifiedTime
intermediary comp_2171
official c
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Comparator
<CacheFiles.CacheFile> private final FileTime
The field for themodifiedTime
record component.private final Path
The field for thepath
record component. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Returns the value of themodifiedTime
record component.path()
Returns the value of thepath
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
path
The field for thepath
record component. -
modifiedTime
The field for themodifiedTime
record component. -
COMPARATOR
- Mappings:
Namespace Name Mixin selector named COMPARATOR
Lnet/minecraft/util/path/CacheFiles$CacheFile;COMPARATOR:Ljava/util/Comparator;
intermediary field_47678
Lnet/minecraft/class_9055$class_9057;field_47678:Ljava/util/Comparator;
official a
Lasc$b;a:Ljava/util/Comparator;
-
-
Constructor Details
-
CacheFile
-
-
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. All components in this record class are compared withObjects::equals(Object,Object)
. -
path
Returns the value of thepath
record component.- Returns:
- the value of the
path
record component
-
modifiedTime
Returns the value of themodifiedTime
record component.- Returns:
- the value of the
modifiedTime
record component
-