Show / Hide Table of Contents

    Class StatePair

    Pair of states.

    This is a Lucene.NET EXPERIMENTAL API, use at your own risk
    Inheritance
    System.Object
    StatePair
    Namespace: Lucene.Net.Util.Automaton
    Assembly: Lucene.Net.dll
    Syntax
    public class StatePair : object

    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.

    | Improve this Doc View Source

    GetHashCode()

    Returns hash code.

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

    Hash code.

    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)