Class StatePair
Pair of states.
Note
This API is experimental and might change in incompatible ways in the next release.
Inherited Members
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 |
|
Overrides
GetHashCode()
Returns hash code.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int | Hash code. |