src/main/java/de/dfki/lt/loot/fsa/FiniteAutomaton.java
public SubAutomaton newCharAutomaton(EdgeInfo edgeInfo) {
    SubAutomaton result = new SubAutomaton();
    // create a new final state
    int finalState = newVertex();
    // the new state is the new final state
    result.setFinalState(finalState);
    // connect the new state and the initial state
    newEdge(edgeInfo, result.getInitialState(), finalState);
    return result;
  }
/** This constructs and automaton that matches the given "character".
   *
   * @param edgeInfo a <code>char</code> with the edge info
   */
This constructs and automaton that matches the given "character".
@param edgeInfo a char with the edge info
This constructs and automaton that matches the given " character " . @param edgeInfo a char with the edge info
public SubAutomaton newCharAutomaton(EdgeInfo edgeInfo) {
    SubAutomaton result = new SubAutomaton();
    int finalState = newVertex();
    result.setFinalState(finalState);
    newEdge(edgeInfo, result.getInitialState(), finalState);
    return result;
  }
public SubAutomaton newCharAutomaton ( EdgeInfo edgeInfo ) { SubAutomaton result = new SubAutomaton ( ) ; int finalState = newVertex ( ) ; result . setFinalState ( finalState ) ; newEdge ( edgeInfo , result . getInitialState ( ) , finalState ) ; return result ; }
This constructs and automaton that matches the given "character".
This constructs and automaton that matches the given " character " .
// create a new final state // the new state is the new final state // connect the new state and the initial state