public class Transition extends Object
Automaton| Constructor and Description |
|---|
Transition(State start,
Object label,
State end)
Creates a new transition (q , l , q').
|
| Modifier and Type | Method and Description |
|---|---|
State |
end()
Returns the ending state of this transition.
|
boolean |
equals(Object o)
Determines if this transition is equal to the parameter.
|
int |
hashCode() |
Object |
label()
Returns the label this transition.
|
State |
start()
Returns the starting state of this transition.
|
String |
toString()
returns a textual representation of this transition.
|
public State start()
public Object label()
public State end()
public String toString()
public boolean equals(Object o)
Copyright © 2020. All rights reserved.