Package eu.bandm.tools.lexic
Class Automaton.State
java.lang.Object
eu.bandm.tools.lexic.Automaton.State
- All Implemented Interfaces:
FormatClient,Serializable
State of an automaton.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<F> Fformat(FormatServer<F> server) Returns a pretty-printable representation of this state.toString()Returns a human-readable representation of this state.
-
Constructor Details
-
State
public State()Creates a new instance. States have no attributes or behavioral methods; only their identity is of interest.
-
-
Method Details
-
toString
Returns a human-readable representation of this state. -
format
Returns a pretty-printable representation of this state.- Specified by:
formatin interfaceFormatClient- Type Parameters:
F- the type of format objects to produce- Parameters:
server- a factory object that can produce format objects- Returns:
- a format object produced by the server
-