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

public void insert ( EventBean [ ] eventArray ) { for ( EventBean theEvent : eventArray ) { events . add ( theEvent ) ; } EventBean [ ] oldEvents = null ; int expiredCount = events . size ( ) - depth ; if ( expiredCount > 0 ) { oldEvents = new EventBean [ expiredCount ] ; for ( int i = 0 ; i < expiredCount ; i ++ ) { oldEvents [ i ] = events . remove ( 0 ) ; } } for ( View child : childViews ) { child . update ( eventArray , oldEvents ) ; } }
insert a bunch of events to the stream
