|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavaewah.RunningLengthWord
public final class RunningLengthWord
Mostly for internal use.
| Field Summary | |
|---|---|
long[] |
array
The array of words. |
static int |
largestliteralcount
largest number of dirty words in a run. |
static long |
largestrunninglengthcount
largest number of clean words in a run |
int |
position
The position in array. |
static int |
runninglengthbits
number of bits dedicated to marking of the running length of clean words |
| Method Summary | |
|---|---|
int |
getNumberOfLiteralWords()
Gets the number of literal words. |
boolean |
getRunningBit()
Gets the running bit. |
long |
getRunningLength()
Gets the running length. |
void |
setNumberOfLiteralWords(long number)
Sets the number of literal words. |
void |
setRunningBit(boolean b)
Sets the running bit. |
void |
setRunningLength(long number)
Sets the running length. |
long |
size()
Return the size in uncompressed words represented by this running length word. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public long[] array
public int position
public static final int runninglengthbits
public static final int largestliteralcount
public static final long largestrunninglengthcount
| Method Detail |
|---|
public int getNumberOfLiteralWords()
public void setNumberOfLiteralWords(long number)
number - the new number of literal wordspublic void setRunningBit(boolean b)
b - the new running bitpublic boolean getRunningBit()
public long getRunningLength()
public void setRunningLength(long number)
number - the new running lengthpublic long size()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||