| Constructor and Description |
|---|
FilterIterator(Iterator<? extends T> i,
Predicate<? super T> f) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
T |
next() |
void |
remove() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEachRemainingpublic T next() throws NoSuchElementException
next in interface Iterator<T>NoSuchElementExceptionpublic void remove()
throws UnsupportedOperationException
remove in interface Iterator<T>UnsupportedOperationException