/** * Sets the given collection of (partial) matches as an event filter with the given semantics * used by the built observable collection. */ public ObservablePatternMatchCollectionBuilder<M> setFilter(Collection<M> multifilters, ViatraQueryFilterSemantics semantics){ this.filter = Rules.newMultiMatchFilter(multifilters, semantics); return this; }