protected class SimpleOverflowMap.KeyIterator extends Object implements Iterator
| Constructor and Description |
|---|
KeyIterator()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
advance()
Advance to the next key.
|
boolean |
hasNext()
Returns true if the iteration has more elements.
|
Object |
next()
Returns the next element in the iteration.
|
void |
remove()
Removes from the underlying collection the last element returned by the iterator.
|
protected void |
useBackIterator()
Switch to an iterator over the back map.
|
protected void |
useDoneIterator()
Switch to an iterator over nothing.
|
protected void |
useFrontIterator()
Switch to a snapshot iterator.
|
protected void |
useSnapshotIterator()
Switch to a snapshot iterator.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic boolean hasNext()
public Object next()
next in interface IteratorNoSuchElementException - if the Iterator has no more elementspublic void remove()
remove in interface IteratorIllegalStateException - if the next method has not yet been called, or the remove method has already been called after the last call to the next methodprotected boolean advance()
protected void useFrontIterator()
protected void useBackIterator()
protected void useSnapshotIterator()
protected void useDoneIterator()