public <T> T getStickyEvent(Class<T> eventType) {
        synchronized (stickyEvents) {
            return eventType.cast(stickyEvents.get(eventType));
        }
    }
public <T> T getStickyEvent(Class<T> eventType) {
        synchronized (stickyEvents) {
            return eventType.cast(stickyEvents.get(eventType));
        }
    }
public < T > T getStickyEvent ( Class < T > eventType ) { synchronized ( stickyEvents ) { return eventType . cast ( stickyEvents . get ( eventType ) ) ; } }
Gets the most recent sticky event for the given type.

@see #postSticky(Object)
Gets the most recent sticky event for the given type .