code: public void unregister(EventObserver<?> observer){
          for (Map.Entry<Class, Set<EventObserver>> entry : observers.entrySet()) {
              entry.getValue().remove(observer);
          }
  
      }
docs: Unregisters an EventObserver by equality.
  
  @param observer Event Observer