Class ViatraQueryMultiMatchEventFilter<Match extends IPatternMatch>
- java.lang.Object
-
- org.eclipse.viatra.transformation.evm.specific.event.ViatraQueryMultiMatchEventFilter<Match>
-
- All Implemented Interfaces:
java.util.function.Predicate<Match>
,EventFilter<Match>
public class ViatraQueryMultiMatchEventFilter<Match extends IPatternMatch> extends java.lang.Object implements EventFilter<Match>
Multi pattern match event filter.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ViatraQueryMultiMatchEventFilter(java.util.Collection<Match> filterMatches, ViatraQueryFilterSemantics semantics)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <Match extends IPatternMatch>
ViatraQueryMultiMatchEventFilter<Match>createFilter(java.util.Collection<Match> eventAtoms, ViatraQueryFilterSemantics semantics)
boolean
equals(java.lang.Object obj)
java.util.Collection<Match>
getFilterMatches()
int
hashCode()
boolean
isProcessable(Match eventAtom)
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.viatra.transformation.evm.api.event.EventFilter
and, negate, or, test
-
-
-
-
Constructor Detail
-
ViatraQueryMultiMatchEventFilter
protected ViatraQueryMultiMatchEventFilter(java.util.Collection<Match> filterMatches, ViatraQueryFilterSemantics semantics)
-
-
Method Detail
-
getFilterMatches
public java.util.Collection<Match> getFilterMatches()
-
isProcessable
public boolean isProcessable(Match eventAtom)
- Specified by:
isProcessable
in interfaceEventFilter<Match extends IPatternMatch>
-
createFilter
public static <Match extends IPatternMatch> ViatraQueryMultiMatchEventFilter<Match> createFilter(java.util.Collection<Match> eventAtoms, ViatraQueryFilterSemantics semantics)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-