#include <utils.h>
Public Member Functions | |
| FilteredIterator (Iter start, Iter end, TUnaryPredicate predicate) | |
| bool | hasNext () |
| Iter | next () |
|
||||||||||||||||||||
|
Constructs a new Iterator from start to end with the given predicate. |
|
|||||||||
|
Returns true if there are elements left. |
|
|||||||||
|
Returns the next element of the collection of elements we iterate over where the given predicate returned true. |
1.4.6