Code example for ConcurrentLinkedQueue

Methods: remove

0
   */ 
  @Override 
  public final void unregisterEventObserver( 
      EventObserver< ? extends T > observer )
  { 
    if ( observers.remove( observer ) )
    { 
      onObserverUnregistration( observer );
    } 
  } 
   
  /** 
   * Handler for unregistered observers ( to be overloaded by extending classes 
   * if necessary ) 
   *  
   * @param observer 
   *          the unregistered observer 
   */ 
  protected void 
      onObserverUnregistration( EventObserver< ? extends T > observer )
  {