synchronized public static void unregisterAll(final Class<? extends EventBusListener> listenerClass){
  for (  final List<EventBusListener> list : map.values()) {
    for (    final EventBusListener listener : list) {
      if (listenerClass.isAssignableFrom(listener.getClass())) {
        list.remove(listener);
      }
    }
  }
}

synchronized public static void unregisterAll ( final Class < ? extends EventBusListener > listenerClass ) { for ( final List < EventBusListener > list : map . values ( ) ) { for ( final EventBusListener listener : list ) { if ( listenerClass . isAssignableFrom ( listener . getClass ( ) ) ) { list . remove ( listener ) ; } } } }
removes all listener of the specified class from all events .
