public class AbstractKeySetBasedMap.KeyIterator
extends com.oracle.common.collections.AbstractStableIterator<K>
| Modifier | Constructor and Description |
|---|---|
protected |
KeyIterator(Iterator<K> iter)
Construct a KeyIterator.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
advance()
Advance to the next object.
|
protected void |
remove(Object oPrev)
Remove the specified item.
|
getPrevious, hasMoreElements, hasNext, next, nextElement, remove, setNextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingprotected void advance()
This method must be implemented by the concrete sub-class by calling AbstractStableIterator.setNext(T) if there is a next object.
advance in class com.oracle.common.collections.AbstractStableIterator<K>protected void remove(Object oPrev)
This is an optional operation. If the Iterator supports element removal, then it should implement this method, which is delegated to by the AbstractStableIterator.remove() method.
remove in class com.oracle.common.collections.AbstractStableIterator<K>oPrev - the previously iterated object that should be removed