Class StatePair
Pair of states.
This is a Lucene.NET EXPERIMENTAL API, use at your own risk
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 SourceStatePair(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 SourceFirstState
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
| Improve this Doc View SourceEquals(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 | 
  | 
      
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()