Package org.dmfs.jems2.iterator
Class Sieved<E>
- java.lang.Object
-
- org.dmfs.jems2.iterator.BaseIterator<E>
-
- org.dmfs.jems2.iterator.Sieved<E>
-
- All Implemented Interfaces:
java.util.Iterator<E>
public final class Sieved<E> extends BaseIterator<E>
Iteratordecorator which iterates all elements of the delegate which satisfy a givenPredicate.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()Enext()-
Methods inherited from class org.dmfs.jems2.iterator.BaseIterator
equals, hashCode, remove
-
-
-
-
Method Detail
-
hasNext
public final boolean hasNext()
-
next
public final E next()
-
-