|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Decoder
Decoding methods for a specific compression technique.
Method Summary | |
---|---|
int |
decode(BooleanIterator iterator)
Decodes the next symbol from the given boolean iterator. |
int |
decode(InputBitStream ibs)
Decodes the next symbol from the given input bit stream. |
Method Detail |
---|
int decode(BooleanIterator iterator)
Note that InputBitStream
implements BooleanIterator
.
iterator
- a boolean iterator.
i
NoSuchElementException
- if iterator
terminates before a symbol has been decoded.int decode(InputBitStream ibs) throws IOException
Note that InputBitStream
implements BooleanIterator
.
ibs
- an input bit stream.
ibs
.
IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |