Record Class ParallelZipWriter.Result
java.lang.Object
java.lang.Record
com.ljarocki.parallelzip.internal.ParallelZipWriter.Result
- Enclosing class:
- ParallelZipWriter
public static record ParallelZipWriter.Result(long archiveSize, int entryCount, long rawBytes, long storedBytes, long enumerateMs, long compressWriteMs, boolean zip64)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionResult(long archiveSize, int entryCount, long rawBytes, long storedBytes, long enumerateMs, long compressWriteMs, boolean zip64) Creates an instance of aResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the value of thearchiveSizerecord component.longReturns the value of thecompressWriteMsrecord component.intReturns the value of theentryCountrecord component.longReturns the value of theenumerateMsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.longrawBytes()Returns the value of therawBytesrecord component.longReturns the value of thestoredBytesrecord component.final StringtoString()Returns a string representation of this record class.booleanzip64()Returns the value of thezip64record component.
-
Constructor Details
-
Result
public Result(long archiveSize, int entryCount, long rawBytes, long storedBytes, long enumerateMs, long compressWriteMs, boolean zip64) Creates an instance of aResultrecord class.- Parameters:
archiveSize- the value for thearchiveSizerecord componententryCount- the value for theentryCountrecord componentrawBytes- the value for therawBytesrecord componentstoredBytes- the value for thestoredBytesrecord componentenumerateMs- the value for theenumerateMsrecord componentcompressWriteMs- the value for thecompressWriteMsrecord componentzip64- the value for thezip64record component
-
-
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 with '=='. -
archiveSize
public long archiveSize()Returns the value of thearchiveSizerecord component.- Returns:
- the value of the
archiveSizerecord component
-
entryCount
public int entryCount()Returns the value of theentryCountrecord component.- Returns:
- the value of the
entryCountrecord component
-
rawBytes
public long rawBytes()Returns the value of therawBytesrecord component.- Returns:
- the value of the
rawBytesrecord component
-
storedBytes
public long storedBytes()Returns the value of thestoredBytesrecord component.- Returns:
- the value of the
storedBytesrecord component
-
enumerateMs
public long enumerateMs()Returns the value of theenumerateMsrecord component.- Returns:
- the value of the
enumerateMsrecord component
-
compressWriteMs
public long compressWriteMs()Returns the value of thecompressWriteMsrecord component.- Returns:
- the value of the
compressWriteMsrecord component
-
zip64
public boolean zip64()Returns the value of thezip64record component.- Returns:
- the value of the
zip64record component
-