Package net.minecraft.util.logging
Record Class LogFileCompressor.Compressed
java.lang.Object
java.lang.Record
net.minecraft.util.logging.LogFileCompressor.Compressed
- Record Components:
path-id-
- All Implemented Interfaces:
LogFileCompressor.LogFile
- Enclosing class:
LogFileCompressor
public static record LogFileCompressor.Compressed(Path path, LogFileCompressor.LogId id)
extends Record
implements LogFileCompressor.LogFile
- Mappings:
Namespace Name named net/minecraft/util/logging/LogFileCompressor$Compressedintermediary net/minecraft/class_7929$class_7930official blx$anamed pathintermediary comp_1156official anamed idintermediary comp_1157official b
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncompress()final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.path()Returns the value of thepathrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
Compressed
-
-
Method Details
-
getReader
- Specified by:
getReaderin interfaceLogFileCompressor.LogFile- Throws:
IOException- Mappings:
Namespace Name Mixin selector named getReaderLnet/minecraft/util/logging/LogFileCompressor$LogFile;getReader()Ljava/io/Reader;intermediary method_47556Lnet/minecraft/class_7929$class_7931;method_47556()Ljava/io/Reader;official aLblx$b;a()Ljava/io/Reader;
-
compress
- Specified by:
compressin interfaceLogFileCompressor.LogFile- Mappings:
Namespace Name Mixin selector named compressLnet/minecraft/util/logging/LogFileCompressor$LogFile;compress()Lnet/minecraft/util/logging/LogFileCompressor$Compressed;intermediary method_47557Lnet/minecraft/class_7929$class_7931;method_47557()Lnet/minecraft/class_7929$class_7930;official bLblx$b;b()Lblx$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. All components in this record class are compared withObjects::equals(Object,Object). -
path
Returns the value of thepathrecord component.- Specified by:
pathin interfaceLogFileCompressor.LogFile- Returns:
- the value of the
pathrecord component
-
id
Returns the value of theidrecord component.- Specified by:
idin interfaceLogFileCompressor.LogFile- Returns:
- the value of the
idrecord component
-