public abstract static class IntIntHashMap.AbstractIterator<E> extends Object implements Iterator<E>
Constructor and Description |
---|
AbstractIterator() |
Modifier and Type | Method and Description |
---|---|
protected E |
done()
Call when done.
|
protected abstract E |
fetch()
Fetch next element.
|
boolean |
hasNext() |
E |
next() |
void |
remove()
Default implementation throws
UnsupportedOperationException . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public void remove()
UnsupportedOperationException
.protected abstract E fetch()
done()
when all elements have
been fetched.done()
.protected final E done()
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.