T - public class FilterIterator<T>
extends java.lang.Object
implements java.util.Iterator<T>
| Constructor and Description |
|---|
FilterIterator(java.util.Iterator<T> iterator,
Predicate predicate)
Create a new filtered iterator based on the given
iterator. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
T |
next() |
void |
remove() |
Copyright © 2010 - 2023 Adobe. All Rights Reserved