@ SuppressWarnings ( "unchecked" ) public < L , E > EventLog < L , E > getEventLog ( Class < ? > type , String name ) { return eventRegistries . computeIfAbsent ( type , t -> new ConcurrentHashMap <> ( ) ) . get ( name ) ; }
Returns an event log if it already exists .