Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class Bits.MatchNoBits

    Bits impl of the specified length with no bits set.

    Inheritance
    object
    Bits.MatchNoBits
    Implements
    IBits
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.Util
    Assembly: Lucene.Net.dll
    Syntax
    public class Bits.MatchNoBits : IBits

    Constructors

    MatchNoBits(int)

    Bits impl of the specified length with no bits set.

    Declaration
    public MatchNoBits(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

    true if the bit is set, false otherwise.

    Implements

    IBits
    Back to top Copyright © 2024 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.