Modifier and Type | Field and Description |
---|---|
static int |
largestLiteralCount
largest number of literal words in a run.
|
static long |
largestRunningLengthCount
largest number of clean words in a run
|
EWAHCompressedBitmap |
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
|
Modifier and Type | Method and Description |
---|---|
RunningLengthWord |
clone() |
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() |
public EWAHCompressedBitmap parent
public int position
public static final int runningLengthBits
public static final int largestLiteralCount
public static final long largestRunningLengthCount
public int getNumberOfLiteralWords()
public boolean getRunningBit()
public long getRunningLength()
public void setNumberOfLiteralWords(long number)
number
- the new number of literal wordspublic void setRunningBit(boolean b)
b
- the new running bitpublic void setRunningLength(long number)
number
- the new running lengthpublic long size()
public RunningLengthWord clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
Copyright © 2014. All Rights Reserved.