public class Transition extends Object implements Serializable
Constructor and Description |
---|
Transition(State from,
State to) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(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 Transition(State from, State to)
public boolean equals(Object o) throws ClassCastException
equals
in class Object
ClassCastException
Copyright © 2020 BioJava. All rights reserved.