| Modifier and Type | Field and Description |
|---|---|
Iterable<T> |
iterable |
Predicate.PredicateIterator<T> |
iterator |
Predicate<T> |
predicate |
| Constructor and Description |
|---|
PredicateIterable(Iterable<T> iterable,
Predicate<T> predicate) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<T> |
iterator()
Returns an iterator.
|
void |
set(Iterable<T> iterable,
Predicate<T> predicate) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic Predicate.PredicateIterator<T> iterator
public Iterator<T> iterator()
If Collections.allocateIterators is false, the same iterator instance is returned each time this method is called. Use
the Predicate.PredicateIterator constructor for nested or multithreaded iteration.
Copyright © 2021. All rights reserved.