public class StatePair
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) int |
s |
(package private) int |
s1 |
(package private) int |
s2 |
Constructor and Description |
---|
StatePair(int s1,
int s2)
Constructs a new state pair.
|
StatePair(int s,
int s1,
int s2) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Checks for equality.
|
int |
hashCode()
Returns hash code.
|
java.lang.String |
toString() |
StatePair(int s, int s1, int s2)
public StatePair(int s1, int s2)
s1
- first states2
- second statepublic boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- object to compare withpublic int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object