Module java4ever.binding
Package tech.deplant.java4ever.binding
Record Class Utils.ParamsOfCompressZstd
java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.Utils.ParamsOfCompressZstd
- Record Components:
uncompressed- Must be encoded as base64. Uncompressed data.level- Compression level, from 1 to 21. Where: 1 - lowest compression level (fastest compression); 21 - highest compression level (slowest compression). If level is omitted, the default compression level is used (currently `3`).
- Enclosing class:
Utils
-
Constructor Summary
ConstructorsConstructorDescriptionParamsOfCompressZstd(String uncompressed, Long level) Creates an instance of aParamsOfCompressZstdrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.level()Returns the value of thelevelrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theuncompressedrecord component.
-
Constructor Details
-
ParamsOfCompressZstd
Creates an instance of aParamsOfCompressZstdrecord class.- Parameters:
uncompressed- the value for theuncompressedrecord componentlevel- the value for thelevelrecord 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 withObjects::equals(Object,Object). -
uncompressed
Returns the value of theuncompressedrecord component.- Returns:
- the value of the
uncompressedrecord component
-
level
-