public class DelegatingIterator<E> extends Object implements Iterator<E>
Constructor and Description |
---|
DelegatingIterator(Iterator<E> iterator) |
Modifier and Type | Method and Description |
---|---|
void |
forEachRemaining(Consumer<? super E> action) |
boolean |
hasNext() |
E |
next() |
void |
remove() |
public void forEachRemaining(Consumer<? super E> action)
forEachRemaining
in interface Iterator<E>
Copyright © 2019. All rights reserved.