Modifier and Type | Field and Description |
---|---|
int |
literalWordOffset
how many literal words have we read so far?
|
protected int |
NumberOfLiteralWords
The Number of literal words.
|
boolean |
RunningBit
The Running bit.
|
int |
RunningLength
The Running length.
|
Constructor and Description |
---|
BufferedRunningLengthWord32(int a)
Instantiates a new buffered running length word.
|
BufferedRunningLengthWord32(RunningLengthWord32 rlw)
Instantiates a new buffered running length word.
|
Modifier and Type | Method and Description |
---|---|
BufferedRunningLengthWord32 |
clone() |
void |
discardFirstWords(int x)
Discard first words.
|
int |
getNumberOfLiteralWords()
Gets the number of literal words.
|
boolean |
getRunningBit()
Gets the running bit.
|
int |
getRunningLength()
Gets the running length.
|
void |
reset(int a)
Reset the values using the provided word.
|
void |
reset(RunningLengthWord32 rlw)
Reset the values of this running length word so that it has the same
values as the other running length word.
|
void |
setNumberOfLiteralWords(int number)
Sets the number of literal words.
|
void |
setRunningBit(boolean b)
Sets the running bit.
|
void |
setRunningLength(int number)
Sets the running length.
|
int |
size()
Size in uncompressed words.
|
String |
toString() |
public int literalWordOffset
protected int NumberOfLiteralWords
public boolean RunningBit
public int RunningLength
public BufferedRunningLengthWord32(int a)
a
- the wordpublic BufferedRunningLengthWord32(RunningLengthWord32 rlw)
rlw
- the rlwpublic void discardFirstWords(int x)
x
- the number of words to be discardedpublic int getNumberOfLiteralWords()
public boolean getRunningBit()
public int getRunningLength()
public void reset(int a)
a
- the wordpublic void reset(RunningLengthWord32 rlw)
rlw
- the other running length wordpublic void setNumberOfLiteralWords(int number)
number
- the new number of literal wordspublic void setRunningBit(boolean b)
b
- the new running bitpublic void setRunningLength(int number)
number
- the new running lengthpublic int size()
public BufferedRunningLengthWord32 clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
Copyright © 2016. All Rights Reserved.