Sets a bit and returns the previous value.
The index should be less than the OpenBitSet size.
Namespace: Lucene.Net.UtilAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
| C# |
|---|
public virtual bool GetAndSet( long index ) |
| Visual Basic |
|---|
Public Overridable Function GetAndSet ( _ index As Long _ ) As Boolean |
| Visual C++ |
|---|
public: virtual bool GetAndSet( long long index ) |
Parameters
- index
- Type: System..::..Int64
[Missing <param name="index"/> documentation for "M:Lucene.Net.Util.OpenBitSet.GetAndSet(System.Int64)"]
Return Value
[Missing <returns> documentation for "M:Lucene.Net.Util.OpenBitSet.GetAndSet(System.Int64)"]