Class ParallelNMatchOperation
- java.lang.Object
-
- org.eclipse.epsilon.eol.execute.operations.AbstractOperation
-
- org.eclipse.epsilon.eol.execute.operations.declarative.FirstOrderOperation
-
- org.eclipse.epsilon.eol.execute.operations.declarative.NMatchOperation
-
- org.eclipse.epsilon.eol.execute.operations.declarative.concurrent.ParallelNMatchOperation
-
public class ParallelNMatchOperation extends NMatchOperation
- Since:
- 1.6
- Author:
- Sina Madani
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.epsilon.eol.execute.operations.declarative.NMatchOperation
NMatchOperation.MatchMode
-
-
Field Summary
-
Fields inherited from class org.eclipse.epsilon.eol.execute.operations.declarative.NMatchOperation
mode
-
-
Constructor Summary
Constructors Constructor Description ParallelNMatchOperation(NMatchOperation.MatchMode behaviour)
ParallelNMatchOperation(NMatchOperation.MatchMode behaviour, int n)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
execute(int sourceSize, int targetMatches, java.util.Collection<java.lang.Object> source, NameExpression operationNameExpression, java.util.List<Parameter> iterators, Expression expression, IEolContext context_)
-
Methods inherited from class org.eclipse.epsilon.eol.execute.operations.declarative.NMatchOperation
determineResult, execute, shouldShortCircuit
-
Methods inherited from class org.eclipse.epsilon.eol.execute.operations.declarative.FirstOrderOperation
createIteratorVariable, execute, resolve, resolveFunction, resolvePredicate, resolveSource
-
Methods inherited from class org.eclipse.epsilon.eol.execute.operations.AbstractOperation
isOverridable, toString
-
-
-
-
Constructor Detail
-
ParallelNMatchOperation
public ParallelNMatchOperation(NMatchOperation.MatchMode behaviour, int n) throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
-
ParallelNMatchOperation
public ParallelNMatchOperation(NMatchOperation.MatchMode behaviour)
-
-
Method Detail
-
execute
protected boolean execute(int sourceSize, int targetMatches, java.util.Collection<java.lang.Object> source, NameExpression operationNameExpression, java.util.List<Parameter> iterators, Expression expression, IEolContext context_) throws EolRuntimeException
- Overrides:
execute
in classNMatchOperation
- Throws:
EolRuntimeException
-
-