public class NonEmptyVirtualStorage32 extends Object implements BitmapStorage32
| Constructor and Description |
|---|
NonEmptyVirtualStorage32() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int newdata)
If the word to be added is non-zero, a NonEmptyException exception is thrown.
|
void |
addStreamOfEmptyWords(boolean v,
int number)
If the boolean value is true and number>0, then it throws a NonEmptyException exception,
otherwise, nothing happens.
|
void |
addStreamOfLiteralWords(int[] data,
int start,
int number)
throws a NonEmptyException exception when number > 0
|
void |
addStreamOfNegatedLiteralWords(int[] data,
int start,
int number)
throws a NonEmptyException exception when number > 0
|
void |
setSizeInBits(int bits)
Does nothing.
|
public void add(int newdata)
add in interface BitmapStorage32newdata - the wordcom.googlecode.javaewah.BitmapStorage#add(int)public void addStreamOfLiteralWords(int[] data,
int start,
int number)
addStreamOfLiteralWords in interface BitmapStorage32data - the literal wordsstart - the starting point in the arraynumber - the number of literal words to addcom.googlecode.javaewah.BitmapStorage#addStreamOfLiteralWords(int[], int, int)public void addStreamOfEmptyWords(boolean v,
int number)
addStreamOfEmptyWords in interface BitmapStorage32v - zeros or onesnumber - how many to words addcom.googlecode.javaewah.BitmapStorage#addStreamOfEmptyWords(boolean, int)public void addStreamOfNegatedLiteralWords(int[] data,
int start,
int number)
addStreamOfNegatedLiteralWords in interface BitmapStorage32data - the literal wordsstart - the starting point in the arraynumber - the number of literal words to addcom.googlecode.javaewah.BitmapStorage#addStreamOfNegatedLiteralWords(int[], int, int)public void setSizeInBits(int bits)
setSizeInBits in interface BitmapStorage32bits - number of bitsBitmapStorage.setSizeInBits(int)Copyright © 2017. All rights reserved.