|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.googlecode.javaewah32.RunningLengthWord32
public final class RunningLengthWord32
Mostly for internal use.
Field Summary | |
---|---|
static int |
largestliteralcount
largest number of literal words in a run. |
static int |
largestrunninglengthcount
largest number of clean words in a run |
EWAHCompressedBitmap32 |
parent
The array of words. |
int |
position
The position in array. |
static int |
runninglengthbits
number of bits dedicated to marking of the running length of clean words |
Method Summary | |
---|---|
RunningLengthWord32 |
clone()
|
int |
getNumberOfLiteralWords()
Gets the number of literal words. |
boolean |
getRunningBit()
Gets the running bit. |
int |
getRunningLength()
Gets the running length. |
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()
Return the size in uncompressed words represented by this running length word. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public EWAHCompressedBitmap32 parent
public int position
public static final int runninglengthbits
public static final int largestliteralcount
public static final int largestrunninglengthcount
Method Detail |
---|
public int getNumberOfLiteralWords()
public boolean getRunningBit()
public int getRunningLength()
public 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 String toString()
toString
in class Object
public RunningLengthWord32 clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |