Top Fields Constructors Methods
org.tukaani.xz.lzma

pack-priv final Class Optimum

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv int
pack-priv int
pack-priv boolean
private static final int
pack-priv int
pack-priv int
pack-priv boolean
pack-priv int
price

Cumulative price of arriving to this byte.

pack-priv final int[]
pack-priv final State

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv void
reset()

Resets the price.

pack-priv void
set1(int newPrice, int optCur, int back)

Sets to indicate one LZMA symbol (literal, rep, or match).

pack-priv void
set2(int newPrice, int optCur, int back)

Sets to indicate two LZMA symbols of which the first one is a literal.

pack-priv void
set3(int newPrice, int optCur, int back2, int len2, int back)

Sets to indicate three LZMA symbols of which the second one is a literal.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

backPrevback to summary
pack-priv int backPrev
backPrev2back to summary
pack-priv int backPrev2
hasPrev2back to summary
pack-priv boolean hasPrev2
INFINITY_PRICEback to summary
private static final int INFINITY_PRICE
optPrevback to summary
pack-priv int optPrev
optPrev2back to summary
pack-priv int optPrev2
prev1IsLiteralback to summary
pack-priv boolean prev1IsLiteral
priceback to summary
pack-priv int price

Cumulative price of arriving to this byte.

repsback to summary
pack-priv final int[] reps
stateback to summary
pack-priv final State state

Constructor Detail

Optimumback to summary
pack-priv Optimum()

Method Detail

resetback to summary
pack-priv void reset()

Resets the price.

set1back to summary
pack-priv void set1(int newPrice, int optCur, int back)

Sets to indicate one LZMA symbol (literal, rep, or match).

set2back to summary
pack-priv void set2(int newPrice, int optCur, int back)

Sets to indicate two LZMA symbols of which the first one is a literal.

set3back to summary
pack-priv void set3(int newPrice, int optCur, int back2, int len2, int back)

Sets to indicate three LZMA symbols of which the second one is a literal.