public final class Sieved<E>
extends java.lang.Object
implements java.lang.Iterable<E>
Iterable decorator which iterates all elements of the delegate which satisfy a given Predicate.| Constructor and Description |
|---|
Sieved(Predicate<E> predicate,
java.lang.Iterable<E> delegate) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Iterator<E> |
iterator() |