Sets a bit and returns the previous value. The index should be less than the OpenBitSet size.

Namespace: Lucene.Net.Util
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public virtual bool GetAndSet(
	int index
)
Visual Basic
Public Overridable Function GetAndSet ( _
	index As Integer _
) As Boolean
Visual C++
public:
virtual bool GetAndSet(
	int index
)

Parameters

index
Type: System..::..Int32

[Missing <param name="index"/> documentation for "M:Lucene.Net.Util.OpenBitSet.GetAndSet(System.Int32)"]

Return Value

[Missing <returns> documentation for "M:Lucene.Net.Util.OpenBitSet.GetAndSet(System.Int32)"]

See Also