Code example for LinkedList

Methods: remove

0
    public void markAsFinal(State state) {
        finalStates.add((NotNaiveState) state);
    } 
 
    public void unmarkAsFinalState(State state) {
        finalStates.remove((NotNaiveState) state);
    } 
 
    public List<State> allStates() {
        return allStates;
    } 
 
    public List<OutgoingTransition> allOutgoingTransitions(State from) {
        return ((NotNaiveState) from).outgoingTransitions;
    } 
 
    public State getInitialState() { 
        return initialState;
    } 
 
    public boolean isFinal(State state) {