protected static class CompositeAddressProvider.AddressIterator
extends com.oracle.coherence.common.collections.AbstractStableIterator
Modifier and Type | Field | Description |
---|---|---|
protected Iterator |
m_iterAddress |
The iterator of Addresses from the current provider.
|
protected Iterator |
m_iterProvider |
The iterator of AddressProviders.
|
protected AddressProvider |
m_providerCurrent |
The current AddressProvider.
|
Modifier | Constructor | Description |
---|---|---|
protected |
AddressIterator(List listProvider) |
Modifier and Type | Method | Description |
---|---|---|
protected void |
advance() |
Advance to the next object.
|
protected AddressProvider |
getCurrentProvider() |
Return the current AddressProvider.
|
void |
remove(Object oPrev) |
Remove the specified item.
|
getPrevious, hasMoreElements, hasNext, next, nextElement, remove, setNext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
protected AddressProvider m_providerCurrent
protected Iterator m_iterAddress
protected Iterator m_iterProvider
protected AddressIterator(List listProvider)
protected 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.coherence.common.collections.AbstractStableIterator
public 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.coherence.common.collections.AbstractStableIterator
oPrev
- the previously iterated object that should be removedprotected AddressProvider getCurrentProvider()