public final class EmptyIteration<E,X extends Exception> extends AbstractCloseableIteration<E,X>
Constructor and Description |
---|
EmptyIteration()
Creates a new EmptyIteration.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
Returns true if the iteration has more elements.
|
E |
next()
Returns the next element in the iteration.
|
void |
remove()
Removes from the underlying collection the last element returned by the iteration (optional operation).
|
close, handleClose, isClosed
public final boolean hasNext()
Iteration
Iteration.next()
would return an element rather than throwing a NoSuchElementException.)public final E next()
Iteration
public final void remove()
Iteration
Copyright © 2015-2022 Eclipse Foundation. All Rights Reserved.