Top Description Fields Constructors Methods
org.apache.commons.compress.compressors.bzip2

pack-priv final Class CRC

extends Object
Class Inheritance

A simple class the hold and calculate the CRC for sanity checking of the data.

Field Summary

Modifier and TypeField and Description
private int
private static final int[]

Constructor Summary

AccessConstructor and Description
pack-priv
CRC()

Method Summary

Modifier and TypeMethod and Description
pack-priv int
pack-priv void
pack-priv void
update(final int inCh)

pack-priv void
update(final int inCh, int repeat)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

crcback to summary
private int crc
crc32Tableback to summary
private static final int[] crc32Table

Constructor Detail

CRCback to summary
pack-priv CRC()

Method Detail

getValueback to summary
pack-priv int getValue()
resetback to summary
pack-priv void reset()
updateback to summary
pack-priv void update(final int inCh)
updateback to summary
pack-priv void update(final int inCh, int repeat)