public class Transition
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
Transition(State from,
State to) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Two transitions are equal if they have the same from and to states.
|
int |
hashCode()
The hash code is from.hashCode() ^ to.hashCode()
|
public boolean equals(java.lang.Object o) throws java.lang.ClassCastException
equals
in class java.lang.Object
java.lang.ClassCastException
public int hashCode()
hashCode
in class java.lang.Object