T - public class FilterIterator<T> extends Object implements Iterator<T>
| Constructor and Description |
|---|
FilterIterator(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() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic void remove()
remove in interface Iterator<T>UnsupportedOperationException - alwaysIterator.remove()Copyright © 2010 - 2020 Adobe. All Rights Reserved