Javadoc
Compares two event filters to see if they match, meaning that the "contexts" of two events are
compatible. For example, a
FixedNameEventFilter matches another filter only if they both have the same
name set as the filter, while an
AlwaysMatchingEventFilter matches any other event filter. A listener
that registered to receive notifications like referenceEvent
and with
referenceEventFilter
, will be notified of any occuring event for which
referenceEvent.matches(occuringEvent)
will return true
and
referenceEvent.getEventFilter().matches(occurringEvent.getEventFilter())
.