Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class StatePair

    Pair of states.

    Note

    This API is experimental and might change in incompatible ways in the next release.

    Inheritance
    object
    StatePair
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.Util.Automaton
    Assembly: Lucene.Net.dll
    Syntax
    public class StatePair

    Constructors

    StatePair(State, State)

    Constructs a new state pair.

    Declaration
    public StatePair(State s1, State s2)
    Parameters
    Type Name Description
    State s1

    First state.

    State s2

    Second state.

    Properties

    FirstState

    Returns first component of this pair.

    Declaration
    public virtual State FirstState { get; }
    Property Value
    Type Description
    State

    First state.

    SecondState

    Returns second component of this pair.

    Declaration
    public virtual State SecondState { get; }
    Property Value
    Type Description
    State

    Second state.

    Methods

    Equals(object)

    Checks for equality.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj

    Object to compare with.

    Returns
    Type Description
    bool

    true if obj represents the same pair of states as this pair.

    Overrides
    object.Equals(object)

    GetHashCode()

    Returns hash code.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    Hash code.

    Overrides
    object.GetHashCode()
    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.