@Override public boolean hasNext(){
  log.log(Level.FINE,"hasNext()");
  boolean result=(nextEvent != null);
  log.log(Level.FINE,"hasNext(): {0}",result);
  return result;
}

@ Override public boolean hasNext ( ) { log . log ( Level . FINE , "hasNext()" ) ; boolean result = ( nextEvent != null ) ; log . log ( Level . FINE , "hasNext(): {0}" , result ) ; return result ; }
check if there are more events . returns true if there are more events and false otherwise .
