The OpenBitSetDISI type exposes the following members.

Methods

  NameDescription
Public methodAnd (Inherited from OpenBitSet.)
Public methodAndNot (Inherited from OpenBitSet.)
Public methodCapacity
Returns the current capacity in bits (1 greater than the index of the last bit)
(Inherited from OpenBitSet.)
Public methodCardinality (Inherited from OpenBitSet.)
Public methodClear(Int64)
clears a bit, allowing access beyond the current set size without changing the size.
(Inherited from OpenBitSet.)
Public methodClear(Int32, Int32)
Clears a range of bits. Clearing past the end does not change the size of the set.
(Inherited from OpenBitSet.)
Public methodClear(Int64, Int64)
Clears a range of bits. Clearing past the end does not change the size of the set.
(Inherited from OpenBitSet.)
Public methodClone (Inherited from OpenBitSet.)
Public methodEnsureCapacity
Ensure that the long[] is big enough to hold numBits, expanding it if necessary. getNumWords() is unchanged by this call.
(Inherited from OpenBitSet.)
Public methodEnsureCapacityWords
Expand the long[] with the size given as a number of words (64 bit longs). getNumWords() is unchanged by this call.
(Inherited from OpenBitSet.)
Public methodEquals
returns true if both sets have the same bits set
(Inherited from OpenBitSet.)
Protected methodExpandingWordNum (Inherited from OpenBitSet.)
Public methodFastClear(Int32)
clears a bit. The index should be less than the OpenBitSet size.
(Inherited from OpenBitSet.)
Public methodFastClear(Int64)
clears a bit. The index should be less than the OpenBitSet size.
(Inherited from OpenBitSet.)
Public methodFastFlip(Int32)
flips a bit. The index should be less than the OpenBitSet size.
(Inherited from OpenBitSet.)
Public methodFastFlip(Int64)
flips a bit. The index should be less than the OpenBitSet size.
(Inherited from OpenBitSet.)
Public methodFastGet(Int32)
Returns true or false for the specified bit index. The index should be less than the OpenBitSet size
(Inherited from OpenBitSet.)
Public methodFastGet(Int64)
Returns true or false for the specified bit index. The index should be less than the OpenBitSet size.
(Inherited from OpenBitSet.)
Public methodFastSet(Int32)
Sets the bit at the specified index. The index should be less than the OpenBitSet size.
(Inherited from OpenBitSet.)
Public methodFastSet(Int64)
Sets the bit at the specified index. The index should be less than the OpenBitSet size.
(Inherited from OpenBitSet.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFlip(Int64)
flips a bit, expanding the set size if necessary
(Inherited from OpenBitSet.)
Public methodFlip(Int64, Int64)
Flips a range of bits, expanding the set size if necessary
(Inherited from OpenBitSet.)
Public methodFlipAndGet(Int32)
flips a bit and returns the resulting bit value. The index should be less than the OpenBitSet size.
(Inherited from OpenBitSet.)
Public methodFlipAndGet(Int64)
flips a bit and returns the resulting bit value. The index should be less than the OpenBitSet size.
(Inherited from OpenBitSet.)
Public methodGet(Int32)
Returns true or false for the specified bit index.
(Inherited from OpenBitSet.)
Public methodGet(Int64)
Returns true or false for the specified bit index
(Inherited from OpenBitSet.)
Public methodGetAndSet(Int32)
Sets a bit and returns the previous value. The index should be less than the OpenBitSet size.
(Inherited from OpenBitSet.)
Public methodGetAndSet(Int64)
Sets a bit and returns the previous value. The index should be less than the OpenBitSet size.
(Inherited from OpenBitSet.)
Public methodGetBit
returns 1 if the bit is set, 0 if not. The index should be less than the OpenBitSet size
(Inherited from OpenBitSet.)
Public methodGetBits
Expert: returns the long[] storing the bits
(Inherited from OpenBitSet.)
Public methodGetHashCode (Inherited from OpenBitSet.)
Public methodGetNumWords
Expert: gets the number of longs in the array that are in use
(Inherited from OpenBitSet.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInPlaceAnd
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.
Public methodInPlaceNot
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.
Public methodInPlaceOr
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.
Public methodInPlaceXor
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.
Public methodIntersect
this = this AND other
(Inherited from OpenBitSet.)
Public methodIntersects
returns true if the sets have any elements in common
(Inherited from OpenBitSet.)
Public methodIsCacheable
This DocIdSet implementation is cacheable.
(Inherited from OpenBitSet.)
Public methodIsEmpty
Returns true if there are no set bits
(Inherited from OpenBitSet.)
Public methodIterator (Inherited from OpenBitSet.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodNextSetBit(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.)
Public methodNextSetBit(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.)
Public methodOr (Inherited from OpenBitSet.)
Public methodRemove
Remove all elements set in other. this = this AND_NOT other
(Inherited from OpenBitSet.)
Public methodSet(Int64)
sets a bit, expanding the set size if necessary
(Inherited from OpenBitSet.)
Public methodSet(Int64, Int64)
Sets a range of bits, expanding the set size if necessary
(Inherited from OpenBitSet.)
Public methodSetBits
Expert: sets a new long[] to use as the bit storage
(Inherited from OpenBitSet.)
Public methodSetNumWords
Expert: sets the number of longs in the array that are in use
(Inherited from OpenBitSet.)
Public methodSize
Returns the current capacity of this set. Included for compatibility. This is *not* equal to {@link #cardinality}
(Inherited from OpenBitSet.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodTrimTrailingZeros
Lowers numWords, the number of words in use, by checking for trailing zero words.
(Inherited from OpenBitSet.)
Public methodUnion
this = this OR other
(Inherited from OpenBitSet.)
Public methodXor
this = this XOR other
(Inherited from OpenBitSet.)

See Also