code: public List<Object> getStickyEvents(Class<?> eventType, String eventId) {
          final List<Object> result = new ArrayList<>();
  
          synchronized (stickyEventMap) {
              for (Map.Entry<Object, String> entry : stickyEventMap.entrySet()) {
                  if (N.equals(entry.getValue(), eventId) && eventType.isAssignableFrom(entry.getKey().getClass())) {
                      result.add(entry.getKey());
                  }
              }
          }
  
          return result;
      }
docs: Returns the sticky events which can be assigned to specified <code>eventType</code> and posted with the specified <code>eventId</code>.
  
  @param eventType
  @param eventId
  @return