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 protectedViatraQueryMultiMatchEventFilter(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)booleanequals(java.lang.Object obj)java.util.Collection<Match>getFilterMatches()inthashCode()booleanisProcessable(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:
isProcessablein 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:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-