Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class OrdAndValue<T>

    Holds a single entry.

    Inheritance
    System.Object
    OrdAndValue<T>
    Implements
    System.IEquatable<OrdAndValue<T>>
    Inherited Members
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Lucene.Net.Facet
    Assembly: Lucene.Net.Facet.dll
    Syntax
    public sealed class OrdAndValue<T> : IEquatable<OrdAndValue<T>>
    Type Parameters
    Name Description
    T

    Constructors

    | Improve this Doc View Source

    OrdAndValue(Int32, T)

    Default constructor.

    Declaration
    public OrdAndValue(int ord, T value)
    Parameters
    Type Name Description
    System.Int32 ord
    T value

    Fields

    | Improve this Doc View Source

    Ord

    Ordinal of the entry.

    Declaration
    public int Ord
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    Value

    Value associated with the ordinal.

    Declaration
    public T Value
    Field Value
    Type Description
    T

    Methods

    | Improve this Doc View Source

    Equals(OrdAndValue<T>)

    Declaration
    public bool Equals(OrdAndValue<T> other)
    Parameters
    Type Name Description
    OrdAndValue<T> other
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    Overrides
    System.Object.Equals(System.Object)
    | Improve this Doc View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.Object.GetHashCode()

    Operators

    | Improve this Doc View Source

    Equality(OrdAndValue<T>, OrdAndValue<T>)

    Declaration
    public static bool operator ==(OrdAndValue<T> left, OrdAndValue<T> right)
    Parameters
    Type Name Description
    OrdAndValue<T> left
    OrdAndValue<T> right
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Inequality(OrdAndValue<T>, OrdAndValue<T>)

    Declaration
    public static bool operator !=(OrdAndValue<T> left, OrdAndValue<T> right)
    Parameters
    Type Name Description
    OrdAndValue<T> left
    OrdAndValue<T> right
    Returns
    Type Description
    System.Boolean

    Implements

    System.IEquatable<T>
    • Improve this Doc
    • View Source
    Back to top Copyright © 2021 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.