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