code: @Deprecated
      protected <T extends Listener> void removeInternal(Class<T> listenerClass,
              Iterator<Object> it) {
          final Object next = it.next();
          final T listener = listenerClass.cast(next);
          it.remove();
          final RegistrationEvent e = new RegistrationEvent(this, listenerClass);
          listener.onUnregister(e);
      }
docs: Internal method for removing a single listener and notifying it about the
  removal. Prior to calling this method, the passed iterators
  {@link Iterator#hasNext() hasNext} method must hold <code>true</code>.
  
  @param <T> Type of the listener to remove
  @param listenerClass The class of the listener to remove.
  @param it Iterator which provides the next listener to remove.
  @deprecated Since 3.0.0 - Method not used anymore. Replaced by
  {@link #clearAll(Class, List, boolean)}.