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
    System.Object
    StatePair
    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.Util.Automaton
    Assembly: Lucene.Net.dll
    Syntax
    public class StatePair

    Constructors

    | Improve this Doc View Source

    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

    | Improve this Doc View Source

    FirstState

    Returns first component of this pair.

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

    First state.

    | Improve this Doc View Source

    SecondState

    Returns second component of this pair.

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

    Second state.

    Methods

    | Improve this Doc View Source

    Equals(Object)

    Checks for equality.

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

    Object to compare with.

    Returns
    Type Description
    System.Boolean

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

    Overrides
    System.Object.Equals(System.Object)
    | Improve this Doc View Source

    GetHashCode()

    Returns hash code.

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

    Hash code.

    Overrides
    System.Object.GetHashCode()
    • 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.