src/main/java/de/dfki/lt/loot/fsa/StringFsa.java
@Override
  public StringFsa copy() {

    StringFsa copy = new StringFsa();
    copy.setInitialState(copy.newVertex());

    Map<Integer, Integer> stateMap = new HashMap<>();

    stateMap.put(this.getInitialState(), copy.getInitialState());
    if (this.isFinalState(this.getInitialState())) {
      copy.setFinalState(copy.getInitialState());
    }
    copyState(this.getInitialState(), copy, stateMap);

    return copy;
  }
/**
   * {@inheritDoc}
   * Provides a copy method that returns an instance of {@code StringFsa}.
   */
Provides a copy method that returns an instance of  StringFsa.
Provides a copy method that returns an instance of StringFsa .
@Override
  public StringFsa copy() {
    StringFsa copy = new StringFsa();
    copy.setInitialState(copy.newVertex());
    Map<Integer, Integer> stateMap = new HashMap<>();
    stateMap.put(this.getInitialState(), copy.getInitialState());
    if (this.isFinalState(this.getInitialState())) {
      copy.setFinalState(copy.getInitialState());
    }
    copyState(this.getInitialState(), copy, stateMap);
    return copy;
  }
@ Override public StringFsa copy ( ) { StringFsa copy = new StringFsa ( ) ; copy . setInitialState ( copy . newVertex ( ) ) ; Map < Integer , Integer > stateMap = new HashMap < > ( ) ; stateMap . put ( this . getInitialState ( ) , copy . getInitialState ( ) ) ; if ( this . isFinalState ( this . getInitialState ( ) ) ) { copy . setFinalState ( copy . getInitialState ( ) ) ; } copyState ( this . getInitialState ( ) , copy , stateMap ) ; return copy ; }
{@inheritDoc}
 Provides a copy method that returns an instance of {@code StringFsa}.
{ @inheritDoc } Provides a copy method that returns an instance of { @code StringFsa } .