protected class RefreshableAddressProvider.CircularIterator extends Object implements Iterator
circular mode to allow the remaining addresses and previously skipped
addresses to be used; typically set once an address has been accepted.| Modifier and Type | Field | Description |
|---|---|---|
protected boolean |
m_fCircular |
Whether this Iterator is currently in a circular mode.
|
protected Iterator |
m_iterator |
The iterator used to implement the AddressProvider interface.
|
| Modifier | Constructor | Description |
|---|---|---|
protected |
CircularIterator() |
| Modifier and Type | Method | Description |
|---|---|---|
protected Iterator |
ensureIterator() |
Return the cache iterator.
|
boolean |
hasNext() |
|
Object |
next() |
|
protected void |
refreshIterator() |
Set the value of
m_iterator to a new iterator from the address
list, and ensure the address list is refreshed. |
void |
remove() |
|
void |
setCircular(boolean fCircular) |
Set whether the Iterator should operate in a circular mode.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingprotected boolean m_fCircular
protected Iterator m_iterator
public void setCircular(boolean fCircular)
fCircular - whether the Iterator should operate in a circular
modeprotected Iterator ensureIterator()
protected void refreshIterator()
m_iterator to a new iterator from the address
list, and ensure the address list is refreshed.