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

All Known Subinterfaces:
ILevel0ArrayOperator<I,T>, ILevel0ArraySelectedOperator<I,T>, ILevel0ListOperator<I,T>, ILevel0ListSelectedOperator<I,T>, ILevel0SetOperator<I,T>, ILevel0SetSelectedOperator<I,T>
All Known Implementing Classes:
Level0ArrayOperator, Level0ArrayOperator, Level0ArraySelectedOperator, Level0ArraySelectedOperator, Level0ListOperator, Level0ListOperator, Level0ListSelectedOperator, Level0ListSelectedOperator, Level0SetOperator, Level0SetOperator, Level0SetSelectedOperator, Level0SetSelectedOperator

public interface NavigableCollectionOperator<T>

This interface contains methods for iterating collections.

Since:
1.0
Author:
Daniel Fernández

Method Summary
 NavigatingCollectionOperator<T> forEach()
           Iterates the target collection.
 

Method Detail

forEach

NavigatingCollectionOperator<T> forEach()

Iterates the target collection. After executing this method, any further operations will be applied on each of the collection elements until an "endFor()" method is called.

Returns:
an operator which will execute all operations on each element of the collection.


Copyright © 2012 The OP4J team. All Rights Reserved.