Class Bits.MatchAllBits
Bits impl of the specified length with all bits set.
Implements
Inherited Members
Namespace: Lucene.Net.Util
Assembly: Lucene.Net.dll
Syntax
public class Bits.MatchAllBits : IBits
Constructors
MatchAllBits(int)
Bits impl of the specified length with all bits set.
Declaration
public MatchAllBits(int len)
Parameters
| Type | Name | Description |
|---|---|---|
| int | len |
Properties
Length
Returns the number of bits in this set
Declaration
public int Length { get; }
Property Value
| Type | Description |
|---|---|
| int |
Methods
Get(int)
Returns the value of the bit with the specified index.
Declaration
public bool Get(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | Index, should be non-negative and < 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 |
|