org.op4j.operators.qualities
Interface NavigatingCollectionOperator<T>

All Known Subinterfaces:
ILevel1ArrayElementsOperator<I,T>, ILevel1ArraySelectedElementsOperator<I,T>, ILevel1ListElementsOperator<I,T>, ILevel1ListSelectedElementsOperator<I,T>, ILevel1SetElementsOperator<I,T>, ILevel1SetSelectedElementsOperator<I,T>
All Known Implementing Classes:
Level1ArrayElementsOperator, Level1ArrayElementsOperator, Level1ArraySelectedElementsOperator, Level1ArraySelectedElementsOperator, Level1ListElementsOperator, Level1ListElementsOperator, Level1ListSelectedElementsOperator, Level1ListSelectedElementsOperator, Level1SetElementsOperator, Level1SetElementsOperator, Level1SetSelectedElementsOperator, Level1SetSelectedElementsOperator

public interface NavigatingCollectionOperator<T>

This interface contains methods for ending collection iterations.

Since:
1.0
Author:
Daniel Fernández

Method Summary
 NavigableCollectionOperator<T> endFor()
           Ends the current iteration.
 

Method Detail

endFor

NavigableCollectionOperator<T> endFor()

Ends the current iteration. After the execution of this method, all subsequent operations will be applied on the iterated collection as a whole instead of in a by-element basis.

Returns:
an operator which will execute all operations on the iterated collection as a whole.


Copyright © 2012 The OP4J team. All Rights Reserved.