return state;
return -1;
    private Integer dfaDelta(Integer state, CharSequence ax) {	ListIterator<Transition> transIt;	LinkedList<Transition> transList;	Transition current;	char a;	CharSequence newax;			// wenn das Wort leer ist, sind wir fertig	// ansonsten spalte das erste Zeichen ab	if (ax.length()==0) {	    return state;	}	else {	    a  = ax.charAt(0);	}			transList = transitionTable.get((Integer)state);			transIt = transList.listIterator();			while (transIt.hasNext()) {	    current = (Transition)transIt.next();				    // eine passende Transititon gefunden 	    if (current.getChar()==a) {		if (ax.length()==1) {		    return current.getEndState();		}						newax = ax.subSequence(1,ax.length());		return dfaDelta(current.getEndState(), newax);	    }	}			return state;    }