public void insert(EventBean theEvent){
  events.add(theEvent);
  EventBean[] oldEvents=null;
  if (events.size() > depth) {
    oldEvents=new EventBean[]{events.remove(0)};
  }
  for (  View child : childViews) {
    child.update(new EventBean[]{theEvent},oldEvents);
  }
}

public void insert ( EventBean theEvent ) { events . add ( theEvent ) ; EventBean [ ] oldEvents = null ; if ( events . size ( ) > depth ) { oldEvents = new EventBean [ ] { events . remove ( 0 ) } ; } for ( View child : childViews ) { child . update ( new EventBean [ ] { theEvent } , oldEvents ) ; } }
insert a single event to the stream
