question: public int removeEventFromState ( EventBean oldEvent ) { int currentSize = currentStates . size ( ) ; List < RegexNFAStateEntry > keepList = removeEventFromState ( oldEvent , currentStates . iterator ( ) ) ; if ( randomAccess != null ) { randomAccess . remove ( oldEvent ) ; } currentStates = keepList ; return currentSize - keepList . size ( ) ; }
target:  Remove an event from state.