src/main/java/de/dfki/lt/loot/fsa/FiniteAutomaton.java
public boolean isEmpty() {

    FinalStateCollector<EdgeInfo> dfsVisitor = new FinalStateCollector<>();
    this.dfs(dfsVisitor);
    return dfsVisitor.getFinalStates().isEmpty();
  }
/**
   * Checks if this automaton only accepts the empty language.
   *
   * @return a flag indicating emptiness
   */
Checks if this automaton only accepts the empty language.
@return a flag indicating emptiness
Checks if this automaton only accepts the empty language . @return a flag indicating emptiness
public boolean isEmpty() {
    FinalStateCollector<EdgeInfo> dfsVisitor = new FinalStateCollector<>();
    this.dfs(dfsVisitor);
    return dfsVisitor.getFinalStates().isEmpty();
  }
public boolean isEmpty ( ) { FinalStateCollector < EdgeInfo > dfsVisitor = new FinalStateCollector < > ( ) ; this . dfs ( dfsVisitor ) ; return dfsVisitor . getFinalStates ( ) . isEmpty ( ) ; }
Checks if this automaton only accepts the empty language.
Checks if this automaton only accepts the empty language .