Class RejectOneOperation
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.DelegateBasedOperation<SelectOperation>
org.eclipse.epsilon.eol.execute.operations.declarative.SelectBasedOperation
org.eclipse.epsilon.eol.execute.operations.declarative.RejectOneOperation
- Direct Known Subclasses:
ParallelRejectOneOperation
Returns a new Collection containing one less element for which the predicate is not satisfied.
- Since:
- 1.6
- Author:
- Sina Madani
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCollection<?>
execute
(Object target, NameExpression operationNameExpression, List<Parameter> iterators, List<Expression> expressions, IEolContext context) Methods inherited from class org.eclipse.epsilon.eol.execute.operations.declarative.DelegateBasedOperation
getDelegateOperation, setDelegateOperation
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 Details
-
RejectOneOperation
public RejectOneOperation()
-
-
Method Details
-
execute
public Collection<?> execute(Object target, NameExpression operationNameExpression, List<Parameter> iterators, List<Expression> expressions, IEolContext context) throws EolRuntimeException - Overrides:
execute
in classFirstOrderOperation
- Throws:
EolRuntimeException
-