Uses of Enum Class
cloud.opencode.base.serialization.compress.CompressionAlgorithm
Packages that use CompressionAlgorithm
Package
Description
OpenCode Base Serialization - Unified Serialization Framework
OpenCode Base 序列化 - 统一序列化框架
Compress Package - Compression Support for Serialization
压缩包 - 序列化的压缩支持
-
Uses of CompressionAlgorithm in cloud.opencode.base.serialization
Methods in cloud.opencode.base.serialization that return CompressionAlgorithmModifier and TypeMethodDescriptionSerializerConfig.getCompressionAlgorithm()Returns the compression algorithm.Methods in cloud.opencode.base.serialization with parameters of type CompressionAlgorithmModifier and TypeMethodDescriptionSerializerConfig.Builder.compressionAlgorithm(CompressionAlgorithm algorithm) Sets the compression algorithm. -
Uses of CompressionAlgorithm in cloud.opencode.base.serialization.compress
Subclasses with type arguments of type CompressionAlgorithm in cloud.opencode.base.serialization.compressModifier and TypeClassDescriptionenumCompressionAlgorithm - Compression Algorithm Enumeration 压缩算法枚举Methods in cloud.opencode.base.serialization.compress that return CompressionAlgorithmModifier and TypeMethodDescriptionstatic CompressionAlgorithmCompressionAlgorithm.fromId(byte id) Returns the algorithm from its identifier.static CompressionAlgorithmReturns the algorithm from its name.CompressedSerializer.getAlgorithm()Returns the compression algorithm.static CompressionAlgorithmReturns the enum constant of this class with the specified name.static CompressionAlgorithm[]CompressionAlgorithm.values()Returns an array containing the constants of this enum class, in the order they are declared.Constructors in cloud.opencode.base.serialization.compress with parameters of type CompressionAlgorithmModifierConstructorDescriptionCompressedSerializer(Serializer delegate, CompressionAlgorithm algorithm) Creates a compressed serializer with default threshold (1024 bytes).CompressedSerializer(Serializer delegate, CompressionAlgorithm algorithm, int threshold) Creates a compressed serializer with custom threshold.