Apache Lucene.Net 2.4.0 Class Library API

BitVector.GetAndSet Method 

Sets the value of bit to true and returns true if bit was already set.

public bool GetAndSet(
   int bit
);

Parameters

bit

Return Value

true if bit was already set

See Also

BitVector Class | Lucene.Net.Util Namespace