public synchronized boolean remove(EventListener<T> listener){
  boolean didRemove=unsortedListeners.removeIf(null);
  if (didRemove) {
    invalidateCache();
  }
  return didRemove;
}

public synchronized boolean remove ( EventListener < T > listener ) { boolean didRemove = unsortedListeners . removeIf ( null ) ; if ( didRemove ) { invalidateCache ( ) ; } return didRemove ; }
removes an eventlistener from the list .
