commandline.binToFilePackage.iterators.verticalOffsetPackage
Class OrdinaryVerticalOffsetIterator
java.lang.Object
commandline.binToFilePackage.iterators.verticalOffsetPackage.OrdinaryVerticalOffsetIterator
- Direct Known Subclasses:
- HuffmanVerticalOffsetIterator
public class OrdinaryVerticalOffsetIterator
- extends java.lang.Object
Responsible for the storage of the vertical codewords that where read out and must be available during the
decoding
- Author:
- ward
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
verticalOffsetArrayList
protected java.util.ArrayList<java.lang.Integer> verticalOffsetArrayList
dis
protected MyDataInPutStream dis
bitlist
protected java.util.ArrayList<java.lang.String> bitlist
nbr_verticaloffsetbits
protected int nbr_verticaloffsetbits
OrdinaryVerticalOffsetIterator
public OrdinaryVerticalOffsetIterator(MyDataInPutStream dis)
getVerticalDistribution
public VerticalDistribution_discr getVerticalDistribution()
readBitsList
protected void readBitsList()
- reads in the number of bits used for the vertical offsets and fills the bitlist
readMetaData
protected void readMetaData()
- reads in the number of verticalOffsets and other meta data if needed
readNextCodeWord
protected java.lang.String readNextCodeWord(GenericEdge e)
- reads the next codeword in the bitlist
- Returns:
getNextVertikalOffset
public int getNextVertikalOffset(GenericEdge e)
- Returns:
- the next vertical offset