Returns the Classifier associated with the given Event
Returns the Classifier associated with the given Event
Provides a total ordering of Subscribers (think java.util.Comparator.compare)
Provides a total ordering of Subscribers (think java.util.Comparator.compare)
This is a size hint for the number of Classifiers you expect to have (use powers of 2)
This is a size hint for the number of Classifiers you expect to have (use powers of 2)
Publishes the given Event to the given Subscriber
Publishes the given Event to the given Subscriber
Maps Subscribers to Classifiers using equality on Classifier to store a Set of Subscribers (hence the need for compareSubscribers) Maps Events to Classifiers through the classify-method (so it knows who to publish to)
The compareSubscribers need to provide a total ordering of the Subscribers