Class OpenBitSetIterator
An iterator to iterate over set bits in an OpenBitSet. this is faster than NextSetBit(Int64) for iterating over the complete set of bits, especially when the density of the bits set is high.
Inherited Members
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.ToString()
    
  Namespace: Lucene.Net.Util
Assembly: Lucene.Net.dll
Syntax
public class OpenBitSetIterator : DocIdSetIteratorConstructors
| Improve this Doc View SourceOpenBitSetIterator(OpenBitSet)
Declaration
public OpenBitSetIterator(OpenBitSet obs)Parameters
| Type | Name | Description | 
|---|---|---|
| OpenBitSet | obs | 
OpenBitSetIterator(Int64[], Int32)
Declaration
public OpenBitSetIterator(long[] bits, int numWords)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int64[] | bits | |
| System.Int32 | numWords | 
Properties
| Improve this Doc View SourceDocID
Declaration
public override int DocID { get; }Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
Overrides
Methods
| Improve this Doc View SourceAdvance(Int32)
Declaration
public override int Advance(int target)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | target | 
Returns
| Type | Description | 
|---|---|
| System.Int32 | 
Overrides
| Improve this Doc View SourceGetCost()
Declaration
public override long GetCost()Returns
| Type | Description | 
|---|---|
| System.Int64 | 
Overrides
| Improve this Doc View SourceNextDoc()
Declaration
public override int NextDoc()Returns
| Type | Description | 
|---|---|
| System.Int32 |