Record Class CLNDecompressorRequest
java.lang.Object
java.lang.Record
com.io7m.calino.supercompression.api.CLNDecompressorRequest
- Record Components:
method- The compression methodimageDescription- The image descriptionchannel- A channel containing compressed data
public record CLNDecompressorRequest(CLNSuperCompressionMethodType method, CLNImageDescriptionType imageDescription, SeekableByteChannel channel)
extends Record
A request to decompress data.
-
Constructor Summary
ConstructorsConstructorDescriptionCLNDecompressorRequest(CLNSuperCompressionMethodType method, CLNImageDescriptionType imageDescription, SeekableByteChannel channel) A request to decompress data. -
Method Summary
Modifier and TypeMethodDescriptionchannel()Returns the value of thechannelrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theimageDescriptionrecord component.method()Returns the value of themethodrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CLNDecompressorRequest
public CLNDecompressorRequest(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
-
hashCode
-
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
-
imageDescription
Returns the value of theimageDescriptionrecord component.- Returns:
- the value of the
imageDescriptionrecord component
-
channel
-