Record Class CLNDecompressorSPIRequest
java.lang.Object
java.lang.Record
com.io7m.calino.supercompression.spi.CLNDecompressorSPIRequest
- Record Components:
method
- The compression methodimageDescription
- The image descriptionchannel
- A channel containing compressed data
public record CLNDecompressorSPIRequest(CLNSuperCompressionMethodType method, CLNImageDescriptionType imageDescription, SeekableByteChannel channel)
extends Record
A request to decompress data.
-
Constructor Summary
ConstructorDescriptionCLNDecompressorSPIRequest
(CLNSuperCompressionMethodType method, CLNImageDescriptionType imageDescription, SeekableByteChannel channel) A request to decompress data. -
Method Summary
Modifier and TypeMethodDescriptionchannel()
Returns the value of thechannel
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.Returns the value of theimageDescription
record component.method()
Returns the value of themethod
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
CLNDecompressorSPIRequest
public CLNDecompressorSPIRequest(CLNSuperCompressionMethodType method, CLNImageDescriptionType imageDescription, SeekableByteChannel channel) A request to decompress data.- Parameters:
method
- The compression methodimageDescription
- The image descriptionchannel
- A channel containing compressed data
-
-
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)
. -
method
Returns the value of themethod
record component.- Returns:
- the value of the
method
record component
-
imageDescription
Returns the value of theimageDescription
record component.- Returns:
- the value of the
imageDescription
record component
-
channel
Returns the value of thechannel
record component.- Returns:
- the value of the
channel
record component
-