Package org.apache.lucene.util.automaton
Class StatePair
java.lang.Object
org.apache.lucene.util.automaton.StatePair
Pair of states.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Checks for equality.Returns first component of this pair.Returns second component of this pair.int
hashCode()
Returns hash code.
-
Constructor Details
-
StatePair
Constructs a new state pair.- Parameters:
s1
- first states2
- second state
-
-
Method Details
-
getFirstState
Returns first component of this pair.- Returns:
- first state
-
getSecondState
Returns second component of this pair.- Returns:
- second state
-
equals
Checks for equality. -
hashCode
public int hashCode()Returns hash code.
-