question: public void add ( EventBean theEvent ) { if ( singleEvent == null ) { singleEvent = theEvent ; } else { if ( eventList == null ) { eventList = new ArrayList < EventBean > ( 5 ) ; eventList . add ( singleEvent ) ; } eventList . add ( theEvent ) ; } }
target:  Add an event to be dispatched.