The OpenBitSetDISI type exposes the following members.
Constructors
Name | Description | |
---|---|---|
OpenBitSetDISI(Int32) | Construct an OpenBitSetDISI with no bits set, and a given maximum size
one larger than the largest doc id for which a bit may ever be set
on this OpenBitSetDISI.
| |
OpenBitSetDISI(DocIdSetIterator, Int32) | Construct an OpenBitSetDISI with its bits set
from the doc ids of the given DocIdSetIterator.
Also give a maximum size one larger than the largest doc id for which a
bit may ever be set on this OpenBitSetDISI.
|
Methods
Name | Description | |
---|---|---|
And | (Inherited from OpenBitSet.) | |
AndNot | (Inherited from OpenBitSet.) | |
Capacity | Returns the current capacity in bits (1 greater than the index of the last bit) (Inherited from OpenBitSet.) | |
Cardinality | (Inherited from OpenBitSet.) | |
Clear(Int64) | clears a bit, allowing access beyond the current set size without changing the size. (Inherited from OpenBitSet.) | |
Clear(Int32, Int32) | Clears a range of bits. Clearing past the end does not change the size of the set.
(Inherited from OpenBitSet.) | |
Clear(Int64, Int64) | Clears a range of bits. Clearing past the end does not change the size of the set.
(Inherited from OpenBitSet.) | |
Clone | (Inherited from OpenBitSet.) | |
EnsureCapacity | Ensure that the long[] is big enough to hold numBits, expanding it if necessary.
getNumWords() is unchanged by this call.
(Inherited from OpenBitSet.) | |
EnsureCapacityWords | Expand the long[] with the size given as a number of words (64 bit longs).
getNumWords() is unchanged by this call.
(Inherited from OpenBitSet.) | |
Equals | returns true if both sets have the same bits set (Inherited from OpenBitSet.) | |
ExpandingWordNum | (Inherited from OpenBitSet.) | |
FastClear(Int32) | clears a bit.
The index should be less than the OpenBitSet size.
(Inherited from OpenBitSet.) | |
FastClear(Int64) | clears a bit.
The index should be less than the OpenBitSet size.
(Inherited from OpenBitSet.) | |
FastFlip(Int32) | flips a bit.
The index should be less than the OpenBitSet size.
(Inherited from OpenBitSet.) | |
FastFlip(Int64) | flips a bit.
The index should be less than the OpenBitSet size.
(Inherited from OpenBitSet.) | |
FastGet(Int32) | Returns true or false for the specified bit index.
The index should be less than the OpenBitSet size
(Inherited from OpenBitSet.) | |
FastGet(Int64) | Returns true or false for the specified bit index.
The index should be less than the OpenBitSet size.
(Inherited from OpenBitSet.) | |
FastSet(Int32) | Sets the bit at the specified index.
The index should be less than the OpenBitSet size.
(Inherited from OpenBitSet.) | |
FastSet(Int64) | Sets the bit at the specified index.
The index should be less than the OpenBitSet size.
(Inherited from OpenBitSet.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
Flip(Int64) | flips a bit, expanding the set size if necessary (Inherited from OpenBitSet.) | |
Flip(Int64, Int64) | Flips a range of bits, expanding the set size if necessary
(Inherited from OpenBitSet.) | |
FlipAndGet(Int32) | flips a bit and returns the resulting bit value.
The index should be less than the OpenBitSet size.
(Inherited from OpenBitSet.) | |
FlipAndGet(Int64) | flips a bit and returns the resulting bit value.
The index should be less than the OpenBitSet size.
(Inherited from OpenBitSet.) | |
Get(Int32) | Returns true or false for the specified bit index. (Inherited from OpenBitSet.) | |
Get(Int64) | Returns true or false for the specified bit index (Inherited from OpenBitSet.) | |
GetAndSet(Int32) | Sets a bit and returns the previous value.
The index should be less than the OpenBitSet size.
(Inherited from OpenBitSet.) | |
GetAndSet(Int64) | Sets a bit and returns the previous value.
The index should be less than the OpenBitSet size.
(Inherited from OpenBitSet.) | |
GetBit | returns 1 if the bit is set, 0 if not.
The index should be less than the OpenBitSet size
(Inherited from OpenBitSet.) | |
GetBits | Expert: returns the long[] storing the bits (Inherited from OpenBitSet.) | |
GetHashCode | (Inherited from OpenBitSet.) | |
GetNumWords | Expert: gets the number of longs in the array that are in use (Inherited from OpenBitSet.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
InPlaceAnd | Perform an inplace AND with the doc ids from a given DocIdSetIterator,
leaving only the bits set for which the doc ids are in common.
These doc ids should be smaller than the maximum size passed to the
constructor.
| |
InPlaceNot | Perform an inplace NOT with the doc ids from a given DocIdSetIterator,
clearing all the bits for each such doc id.
These doc ids should be smaller than the maximum size passed to the
constructor.
| |
InPlaceOr | Perform an inplace OR with the doc ids from a given DocIdSetIterator,
setting the bit for each such doc id.
These doc ids should be smaller than the maximum size passed to the
constructor.
| |
InPlaceXor | Perform an inplace XOR with the doc ids from a given DocIdSetIterator,
flipping all the bits for each such doc id.
These doc ids should be smaller than the maximum size passed to the
constructor.
| |
Intersect | this = this AND other (Inherited from OpenBitSet.) | |
Intersects | returns true if the sets have any elements in common (Inherited from OpenBitSet.) | |
IsCacheable | This DocIdSet implementation is cacheable. (Inherited from OpenBitSet.) | |
IsEmpty | Returns true if there are no set bits (Inherited from OpenBitSet.) | |
Iterator | (Inherited from OpenBitSet.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
NextSetBit(Int32) | Returns the index of the first set bit starting at the index specified.
-1 is returned if there are no more set bits.
(Inherited from OpenBitSet.) | |
NextSetBit(Int64) | Returns the index of the first set bit starting at the index specified.
-1 is returned if there are no more set bits.
(Inherited from OpenBitSet.) | |
Or | (Inherited from OpenBitSet.) | |
Remove | Remove all elements set in other. this = this AND_NOT other (Inherited from OpenBitSet.) | |
Set(Int64) | sets a bit, expanding the set size if necessary (Inherited from OpenBitSet.) | |
Set(Int64, Int64) | Sets a range of bits, expanding the set size if necessary
(Inherited from OpenBitSet.) | |
SetBits | Expert: sets a new long[] to use as the bit storage (Inherited from OpenBitSet.) | |
SetNumWords | Expert: sets the number of longs in the array that are in use (Inherited from OpenBitSet.) | |
Size | Returns the current capacity of this set. Included for
compatibility. This is *not* equal to {@link #cardinality}
(Inherited from OpenBitSet.) | |
ToString | (Inherited from Object.) | |
TrimTrailingZeros | Lowers numWords, the number of words in use,
by checking for trailing zero words.
(Inherited from OpenBitSet.) | |
Union | this = this OR other (Inherited from OpenBitSet.) | |
Xor | this = this XOR other (Inherited from OpenBitSet.) |
Fields
Name | Description | |
---|---|---|
bits | (Inherited from OpenBitSet.) | |
wlen | (Inherited from OpenBitSet.) |