Class AssertingBits
Wraps a Lucene.Net.Util.IBits but with additional asserts
Implements
IBits
Inherited Members
Namespace: Lucene.Net.Index
Assembly: Lucene.Net.TestFramework.dll
Syntax
public class AssertingBits : IBits
Constructors
AssertingBits(IBits)
Wraps a Lucene.Net.Util.IBits but with additional asserts
Declaration
public AssertingBits(IBits @in)
Parameters
Type | Name | Description |
---|---|---|
IBits | in |
Properties
Length
Returns the number of bits in this set
Declaration
public virtual int Length { get; }
Property Value
Type | Description |
---|---|
int |
Methods
Get(int)
Returns the value of the bit with the specified index
.
Declaration
public virtual bool Get(int index)
Parameters
Type | Name | Description |
---|---|---|
int | index | Index, should be non-negative and < Lucene.Net.Util.IBits.Length. The result of passing negative or out of bounds values is undefined by this interface, just don't do it! |
Returns
Type | Description |
---|---|
bool |
|
Implements
Lucene.Net.Util.IBits