public interface BitSetService extends SetService<Index>
FastTable
Modifier and Type | Method and Description |
---|---|
void |
and(BitSetService that)
|
void |
andNot(BitSetService that)
|
int |
cardinality()
|
void |
clear(int bitIndex)
|
void |
clear(int fromIndex,
int toIndex)
|
void |
flip(int bitIndex)
|
void |
flip(int fromIndex,
int toIndex)
|
boolean |
get(int bitIndex)
|
BitSetService |
get(int fromIndex,
int toIndex)
|
boolean |
getAndSet(int bitIndex,
boolean value)
Clear or sets the specified bit, returns
true
if previously set; false otherwise. |
boolean |
intersects(BitSetService that)
|
int |
length()
|
int |
nextClearBit(int fromIndex)
|
int |
nextSetBit(int fromIndex)
|
void |
or(BitSetService that)
|
int |
previousClearBit(int fromIndex)
|
int |
previousSetBit(int fromIndex)
|
void |
set(int bitIndex)
|
void |
set(int bitIndex,
boolean value)
|
void |
set(int fromIndex,
int toIndex)
|
void |
set(int fromIndex,
int toIndex,
boolean value)
|
long[] |
toLongArray()
Returns the minimal length
long[] representation of this
bitset. |
void |
xor(BitSetService that)
|
threadSafe
clone, comparator
perform, split, update
int cardinality()
boolean get(int bitIndex)
BitSetService get(int fromIndex, int toIndex)
boolean intersects(BitSetService that)
int length()
int nextClearBit(int fromIndex)
int nextSetBit(int fromIndex)
int previousClearBit(int fromIndex)
int previousSetBit(int fromIndex)
void clear(int bitIndex)
void clear(int fromIndex, int toIndex)
boolean getAndSet(int bitIndex, boolean value)
true
if previously set; false
otherwise.void set(int bitIndex)
void set(int bitIndex, boolean value)
void set(int fromIndex, int toIndex)
void set(int fromIndex, int toIndex, boolean value)
void flip(int bitIndex)
void flip(int fromIndex, int toIndex)
void and(BitSetService that)
void andNot(BitSetService that)
void or(BitSetService that)
void xor(BitSetService that)
long[] toLongArray()
long[]
representation of this
bitset.Copyright © 2005-2013 Javolution. All Rights Reserved.