| Modifier and Type | Field and Description |
|---|---|
| private int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addLiteralWord(final long
the word newData)Implements com. Virtually add literal words directly to the bitmap |
| public void | addStreamOfEmptyWords(boolean
zeros or ones v, long how many to words add number)Implements com. virtually add many zeroes or ones. |
| public void | addStreamOfLiteralWords(final Buffer
the buffer wrapping the literal words buffer, int the starting point in the array start, int the number of literal words to add number)Implements com. virtually add several literal words. |
| public void | addStreamOfNegatedLiteralWords(final Buffer
the buffer wrapping the literal words buffer, int the starting point in the array start, int the number of literal words to add number)Implements com. virtually add several negated literal words. |
| public void | addWord(final long
the word newData)Implements com. Virtually add words directly to the bitmap |
| public void | |
| public int | Returns: number of set bitsAs you act on this class, it records the number of set (true) bits. |
| public void | setSizeInBitsWithinLastWord(int
number of bits bits)Implements com. should directly set the sizeInBits field, but is effectively ignored in this class. |
| oneBits | back to summary |
|---|---|
| private int oneBits | |
| BitCounter | back to summary |
|---|---|
| public BitCounter() | |
| addLiteralWord | back to summary |
|---|---|
| public void addLiteralWord(final long newData) Implements com. Virtually add literal words directly to the bitmap
| |
| addStreamOfEmptyWords | back to summary |
|---|---|
| public void addStreamOfEmptyWords(boolean v, long number) Implements com. virtually add many zeroes or ones.
| |
| addStreamOfLiteralWords | back to summary |
|---|---|
| public void addStreamOfLiteralWords(final Buffer buffer, int start, int number) Implements com. virtually add several literal words. | |
| addStreamOfNegatedLiteralWords | back to summary |
|---|---|
| public void addStreamOfNegatedLiteralWords(final Buffer buffer, int start, int number) Implements com. virtually add several negated literal words. | |
| addWord | back to summary |
|---|---|
| public void addWord(final long newData) Implements com. Virtually add words directly to the bitmap
| |
| clear | back to summary |
|---|---|
| public void clear() Implements com. Doc from com. Empties the container.
| |
| getCount | back to summary |
|---|---|
| public int getCount() As you act on this class, it records the number of set (true) bits.
| |
| setSizeInBitsWithinLastWord | back to summary |
|---|---|
| public void setSizeInBitsWithinLastWord(int bits) Implements com. should directly set the sizeInBits field, but is effectively ignored in this class.
| |