@ SuppressWarnings ( "unchecked" ) public < L , E > EventLog < L , E > removeEventLog ( Class < ? > type , String name ) { return eventRegistries . computeIfAbsent ( type , t -> new ConcurrentHashMap <> ( ) ) . remove ( name ) ; }
Removes and returns the given event log .