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.
|