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 boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- object to compare withpublic State getFirstState()
public State getSecondState()
public int hashCode()
hashCode
in class java.lang.Object
Copyright © 2001-2011 Anders Møller.