content
char[] content
Externalizable
, Serializable
, Cloneable
, Iterable<Character>
, WordStorage<Container>
private static final int
protected int
(package private) char[]
private static final int
(package private) static final int
private static final long
ContainerNames
ArrayContainer(char[] newContent)
ArrayContainer(int capacity)
ArrayContainer(int newCard,
char[] newContent)
ArrayContainer(int firstOfRun,
int lastOfRun)
add(char x)
add(int begin,
int end)
private int
advance(CharIterator it)
and(ArrayContainer value2)
and(RunContainer x)
int
andCardinality(ArrayContainer value2)
int
int
andNot(ArrayContainer value2)
andNot(BitmapContainer value2)
private int
calculateCapacity(int min)
void
clear()
clone()
boolean
contains(char x)
boolean
contains(int minimum,
int supremum)
protected boolean
contains(ArrayContainer arrayContainer)
protected boolean
contains(BitmapContainer bitmapContainer)
protected boolean
contains(RunContainer runContainer)
void
deserialize(DataInput in)
private void
emit(char val)
static ArrayContainer
empty()
boolean
void
fillLeastSignificant16bits(int[] x,
int i,
int mask)
int
first()
flip(char x)
void
forAll(int offset,
RelativeRangeConsumer rrc)
void
forAllFrom(char startValue,
RelativeRangeConsumer rrc)
void
forAllInRange(char startValue,
char endValue,
RelativeRangeConsumer rrc)
void
forAllUntil(int offset,
char endValue,
RelativeRangeConsumer rrc)
void
forEach(char msb,
IntConsumer ic)
int
int
int
int
hashCode()
iadd(int begin,
int end)
iand(ArrayContainer value2)
iand(BitmapContainer value2)
iand(RunContainer x)
iandNot(ArrayContainer value2)
iandNot(BitmapContainer value2)
private void
private void
increaseCapacity(boolean allowIllegalSize)
inot(int firstOfRange,
int lastOfRange)
boolean
intersects(int minimum,
int supremum)
boolean
intersects(ArrayContainer value2)
boolean
boolean
ior(ArrayContainer value2)
ior(RunContainer x)
iremove(int begin,
int end)
boolean
isEmpty()
boolean
isFull()
iterator()
ixor(ArrayContainer value2)
ixor(RunContainer x)
int
last()
protected Container
lazyor(ArrayContainer value2)
limit(int maxcardinality)
(package private) void
loadData(BitmapContainer bitmapContainer)
private void
negateRange(char[] buffer,
int startIndex,
int lastIndex,
int startRange,
int lastRange)
int
nextAbsentValue(char fromValue)
int
nextValue(char fromValue)
not(int firstOfRange,
int lastOfRange)
(package private) int
or(ArrayContainer value2)
protected Container
or(CharIterator it)
private Container
or(CharIterator it,
boolean exclusive)
or(RunContainer x)
int
previousAbsentValue(char fromValue)
int
previousValue(char fromValue)
int
rank(char lowbits)
void
remove(char x)
remove(int begin,
int end)
(package private) void
removeAtIndex(int loc)
char
select(int j)
void
serialize(DataOutput out)
int
protected static int
serializedSizeInBytes(int cardinality)
toString()
void
trim()
void
writeArray(DataOutput out)
void
writeArray(ByteBuffer buffer)
void
xor(ArrayContainer value2)
protected Container
xor(CharIterator it)
xor(RunContainer x)
and, andCardinality, andNot, assertNonEmpty, contains, getContainerName, iand, iandNot, intersects, ior, iorNot, ixor, lazyIOR, lazyOR, or, orNot, rangeOfOnes, xor, xorCardinality
finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
capacity
- The capacity of the containerfirstOfRun
- first indexlastOfRun
- last index (range is exclusive)newCard
- desired cardinalitynewContent
- actual values (length should equal or exceed cardinality)bc
- the original containerContainer
add
in interface WordStorage<Container>
add
in class Container
x
- short to be addedContainer
Container
Container
andCardinality
in class Container
andCardinality
in class Container
andCardinality
in class Container
Container
Container
Container
Container
Container
isEmpty
in interface WordStorage<Container>
isEmpty
in class Container
Container
Container
Container
Container
deserialize
in class Container
in
- the DataInput streamIOException
- Signals that an I/O exception has occurred.Container
fillLeastSignificant16bits
in class Container
x
- provided arrayi
- starting indexmask
- indicates most significant bitsContainer
Container
getArraySizeInBytes
in class Container
Container
getCardinality
in class Container
Container
getReverseCharIterator
in class Container
Container
getCharIterator
in class Container
Container
getCharRankIterator
in class Container
Container
getBatchIterator
in class Container
Container
getSizeInBytes
in class Container
Container
Container
Container
Container
Container
Container
Container
Container
Container
intersects
in class Container
value2
- other containerContainer
intersects
in class Container
x
- other containerContainer
intersects
in class Container
x
- other containerContainer
intersects
in class Container
minimum
- the inclusive unsigned lower bound of the rangesupremum
- the exclusive unsigned upper bound of the rangeContainer
Container
Container
Container
Container
Container
Container
Container
Container
numberOfRuns
in class Container
Container
Container
Container
Container
readExternal
in interface Externalizable
IOException
Container
Container
Container
repairAfterLazy
in class Container
Container
runOptimize
in interface WordStorage<Container>
runOptimize
in class Container
Container
Container
serialize
in class Container
out
- the DataOutput streamIOException
- Signals that an I/O exception has occurred.Container
serializedSizeInBytes
in class Container
toBitmapContainer
in class Container
Container
Container
previousValue
in class Container
fromValue
- the upper bound (inclusive)Container
nextAbsentValue
in class Container
fromValue
- the lower bound (inclusive)Container
previousAbsentValue
in class Container
fromValue
- the upper bound (inclusive)Container
Container
Container
toMappeableContainer
in class Container
Container
Container
writeArray
in class Container
out
- output streamIOException
- in case of failureContainer
writeArray
in class Container
buffer
- ByteBuffer to write towriteExternal
in interface Externalizable
IOException
Container
Container
Container
Container
Container
Container
forAllFrom
in class Container
startValue
- First value to consume. Corresponds to relativePos=0 in the range consumer.rrc
- consumerContainer
forAllUntil
in class Container
offset
- First value in this container corresponds to this
relativePos in the range consumer.endValue
- First value greater than last value to consume.rrc
- consumerContainer
forAllInRange
in class Container
startValue
- First value to consume. Corresponds to relativePos=0 in the range consumer.endValue
- First value greater than last value to consume.rrc
- consumer