Apache Lucene.Net 2.4.0 Class Library API

SupportClass.BitSetSupport.NextSetBit Method 

Returns the next set bit at or after docId, or -1 if no such bit exists.

public static int NextSetBit(
   BitArray bitArray,
   int docId
);

Parameters

bitArray
docId
the index of bit array at which to start checking

Return Value

the next set bit or -1

See Also

SupportClass.BitSetSupport Class | (global) Namespace