public void setDictSize(int dictSize) throws UnsupportedOptionsException {
        if (dictSize < DICT_SIZE_MIN)
            throw new UnsupportedOptionsException(
                    "LZMA2 dictionary size must be at least 4 KiB: "
                    + dictSize + " B");

        if (dictSize > DICT_SIZE_MAX)
            throw new UnsupportedOptionsException(
                    "LZMA2 dictionary size must not exceed "
                    + (DICT_SIZE_MAX >> 20) + " MiB: " + dictSize + " B");

        this.dictSize = dictSize;
    }
public void setDictSize(int dictSize) throws UnsupportedOptionsException {
        if (dictSize < DICT_SIZE_MIN)
            throw new UnsupportedOptionsException(
                    "LZMA2 dictionary size must be at least 4 KiB: "
                    + dictSize + " B");

        if (dictSize > DICT_SIZE_MAX)
            throw new UnsupportedOptionsException(
                    "LZMA2 dictionary size must not exceed "
                    + (DICT_SIZE_MAX >> 20) + " MiB: " + dictSize + " B");

        this.dictSize = dictSize;
    }
public void setDictSize ( int dictSize ) throws UnsupportedOptionsException { if ( dictSize < DICT_SIZE_MIN ) throw new UnsupportedOptionsException ( "LZMA2 dictionary size must be at least 4 KiB: " + dictSize + " B" ) ; if ( dictSize > DICT_SIZE_MAX ) throw new UnsupportedOptionsException ( "LZMA2 dictionary size must not exceed " + ( DICT_SIZE_MAX >> 20 ) + " MiB: " + dictSize + " B" ) ; this . dictSize = dictSize ; }
Sets the dictionary size in bytes.
<p>
The dictionary (or history buffer) holds the most recently seen
uncompressed data. Bigger dictionary usually means better compression.
However, using a dictioanary bigger than the size of the uncompressed
data is waste of memory.
<p>
Any value in the range [DICT_SIZE_MIN, DICT_SIZE_MAX] is valid,
but sizes of 2^n and 2^n&nbsp;+&nbsp;2^(n-1) bytes are somewhat
recommended.

@throws      UnsupportedOptionsException
<code>dictSize</code> is not supported
Sets the dictionary size in bytes . <p > The dictionary ( or history buffer ) holds the most recently seen uncompressed data . Bigger dictionary usually means better compression . However using a dictioanary bigger than the size of the uncompressed data is waste of memory . <p > Any value in the range [ DICT_SIZE_MIN DICT_SIZE_MAX ] is valid but sizes of 2^n and 2^n&nbsp ; + &nbsp ; 2^ ( n - 1 ) bytes are somewhat recommended .