# Uses of Class
org.apache.commons.compress.compressors.lz77support.Parameters.Builder

Packages that use Parameters.Builder
Package
Description
org.apache.commons.compress.compressors.lz4
Provides stream classes for the LZ4 algorithm.
org.apache.commons.compress.compressors.lz77support
Provides utility classes for LZ77 based algorithms.
org.apache.commons.compress.compressors.snappy
Provides stream classes for the Snappy algorithm.

- ## Uses of Parameters.Builder in org.apache.commons.compress.compressors.lz4

  Methods in org.apache.commons.compress.compressors.lz4 that return Parameters.Builder
  Modifier and Type
  Method
  Description
  `static Parameters.Builder`
  BlockLZ4CompressorOutputStream.`createParameterBuilder()`
  Returns a builder correctly configured for the LZ4 algorithm.

- ## Uses of Parameters.Builder in org.apache.commons.compress.compressors.lz77support

  Methods in org.apache.commons.compress.compressors.lz77support that return Parameters.Builder
  Modifier and Type
  Method
  Description
  `static Parameters.Builder`
  Parameters.`builder(int windowSize)`
  Initializes the builder for the compressor's parameters with a `minBackReferenceLength` of 3 and `max*Length` equal to `windowSize - 1`.
  `Parameters.Builder`
  Parameters.Builder.`tunedForCompressionRatio()`
  Changes the default setting for "nice back-reference length" and "maximum number of candidates" for improved compression ratio at the cost of compression speed.
  `Parameters.Builder`
  Parameters.Builder.`tunedForSpeed()`
  Changes the default setting for "nice back-reference length" and "maximum number of candidates" for improved compression speed at the cost of compression ratio.
  `Parameters.Builder`
  Parameters.Builder.`withLazyMatching(boolean lazy)`
  Sets whether lazy matching should be performed.
  `Parameters.Builder`
  Parameters.Builder.`withLazyThreshold(int threshold)`
  Sets the threshold for lazy matching.
  `Parameters.Builder`
  Parameters.Builder.`withMaxBackReferenceLength(int maxBackReferenceLength)`
  Sets the maximal length of a back-reference.
  `Parameters.Builder`
  Parameters.Builder.`withMaxLiteralLength(int maxLiteralLength)`
  Sets the maximal length of a literal block.
  `Parameters.Builder`
  Parameters.Builder.`withMaxNumberOfCandidates(int maxCandidates)`
  Sets the maximum number of back-reference candidates that should be consulted.
  `Parameters.Builder`
  Parameters.Builder.`withMaxOffset(int maxOffset)`
  Sets the maximal offset of a back-reference.
  `Parameters.Builder`
  Parameters.Builder.`withMinBackReferenceLength(int minBackReferenceLength)`
  Sets the minimal length of a back-reference.
  `Parameters.Builder`
  Parameters.Builder.`withNiceBackReferenceLength(int niceLen)`
  Sets the "nice length" of a back-reference.

- ## Uses of Parameters.Builder in org.apache.commons.compress.compressors.snappy

  Methods in org.apache.commons.compress.compressors.snappy that return Parameters.Builder
  Modifier and Type
  Method
  Description
  `static Parameters.Builder`
  SnappyCompressorOutputStream.`createParameterBuilder(int blockSize)`
  Returns a builder correctly configured for the Snappy algorithm using the gven block size.