Record Class CLNImageCubeFaceDescription
java.lang.Object
java.lang.Record
com.io7m.calino.api.CLNImageCubeFaceDescription
- Record Components:
dataOffsetWithinSection- The offset of the data from the start of the section datadataSizeCompressed- The size of the supercompressed datadataSizeUncompressed- The size of the uncompressed datacrc32Uncompressed- The CRC32 of the uncompressed data
public record CLNImageCubeFaceDescription(long dataOffsetWithinSection, long dataSizeCompressed, long dataSizeUncompressed, int crc32Uncompressed)
extends Record
A description of a cube map face.
-
Constructor Summary
ConstructorsConstructorDescriptionCLNImageCubeFaceDescription(long dataOffsetWithinSection, long dataSizeCompressed, long dataSizeUncompressed, int crc32Uncompressed) Creates an instance of aCLNImageCubeFaceDescriptionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of thecrc32Uncompressedrecord component.longReturns the value of thedataOffsetWithinSectionrecord component.longReturns the value of thedataSizeCompressedrecord component.longReturns the value of thedataSizeUncompressedrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CLNImageCubeFaceDescription
public CLNImageCubeFaceDescription(long dataOffsetWithinSection, long dataSizeCompressed, long dataSizeUncompressed, int crc32Uncompressed) Creates an instance of aCLNImageCubeFaceDescriptionrecord class.- Parameters:
dataOffsetWithinSection- the value for thedataOffsetWithinSectionrecord componentdataSizeCompressed- the value for thedataSizeCompressedrecord componentdataSizeUncompressed- the value for thedataSizeUncompressedrecord componentcrc32Uncompressed- the value for thecrc32Uncompressedrecord component
-
-
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 with thecomparemethod from their corresponding wrapper classes. -
dataOffsetWithinSection
public long dataOffsetWithinSection()Returns the value of thedataOffsetWithinSectionrecord component.- Returns:
- the value of the
dataOffsetWithinSectionrecord component
-
dataSizeCompressed
public long dataSizeCompressed()Returns the value of thedataSizeCompressedrecord component.- Returns:
- the value of the
dataSizeCompressedrecord component
-
dataSizeUncompressed
public long dataSizeUncompressed()Returns the value of thedataSizeUncompressedrecord component.- Returns:
- the value of the
dataSizeUncompressedrecord component
-
crc32Uncompressed
public int crc32Uncompressed()Returns the value of thecrc32Uncompressedrecord component.- Returns:
- the value of the
crc32Uncompressedrecord component
-