dk.brics.automaton
public class Transition extends Object implements Serializable, Cloneable
A transition, which belongs to a source state, consists of a Unicode character interval and a destination state.
| Constructor Summary | |
|---|---|
| Transition(char c, State to)
Constructs a new singleton interval transition. | |
| Transition(char min, char max, State to)
Constructs a new transition.
| |
| Method Summary | |
|---|---|
| State | getDest() Returns destination of this transition. |
| char | getMax() Returns maximum of this transition interval. |
| char | getMin() Returns minimum of this transition interval. |
Parameters: c transition character to destination state
Parameters: min transition interval minimum max transition interval maximum to destination state