public class StatePair
extends java.lang.Object
| Constructor and Description |
|---|
StatePair(State s1,
State s2)
Constructs a new state pair.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Checks for equality.
|
State |
getFirstState()
Returns first component of this pair.
|
State |
getSecondState()
Returns second component of this pair.
|
int |
hashCode()
Returns hash code.
|
public State getFirstState()
public State getSecondState()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - object to compare withpublic int hashCode()
hashCode in class java.lang.Object