|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExecutableSetSelectedOperator<T>
This interface contains methods for executing functions on operators with set entry target objects on which a selection ("if") has already been done.
Method Summary | |
---|---|
ExecutableSetSelectedOperator<T> |
execAsSet(IFunction<? super Set<T>,? extends Set<? extends T>> function)
Executes the specified function on the target set, creating a new set operator containing the result of the execution. |
ExecutableSetSelectedOperator<T> |
map(IFunction<? super T,? extends T> function)
Executes the specified function on each of the elements, creating a new set operator containing the result of all the executions. |
Method Detail |
---|
ExecutableSetSelectedOperator<T> execAsSet(IFunction<? super Set<T>,? extends Set<? extends T>> function)
Executes the specified function on the target set, creating a new set operator containing the result of the execution.
This function does not allow the operator target type to change because a selection ("if") has already been done on the target objects, and this would render the operator inconsistent (some objects would belong to a type and others to another type).
function
- the function to be executed
ExecutableSetSelectedOperator<T> map(IFunction<? super T,? extends T> function)
Executes the specified function on each of the elements, creating a new set operator containing the result of all the executions.
This function does not allow the operator target type to change because a selection ("if") has already been done on the target objects, and this would render the operator inconsistent (some objects would belong to a type and others to another type).
This method is equivalent to forEach().exec(function).endFor().
function
- the function to be executed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |