Package com.tangosol.net
Class CompositeAddressProvider.AddressIterator
java.lang.Object
com.oracle.coherence.common.collections.AbstractStableIterator
com.tangosol.net.CompositeAddressProvider.AddressIterator
- All Implemented Interfaces:
 Enumeration,Iterator
- Enclosing class:
 CompositeAddressProvider
protected static class CompositeAddressProvider.AddressIterator
extends com.oracle.coherence.common.collections.AbstractStableIterator
An Iterator over the addresses in this AddressProvider.  The Iterator
 represents a "snapshot" of the AddressProvider's addresses and may not
 reflect any concurrent updates to the underlying AddressProvider(s).
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected IteratorThe iterator of Addresses from the current provider.protected IteratorThe iterator of AddressProviders.protected AddressProviderThe current AddressProvider. - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected voidadvance()Advance to the next object.protected AddressProviderReturn the current AddressProvider.voidRemove the specified item.Methods inherited from class com.oracle.coherence.common.collections.AbstractStableIterator
getPrevious, hasMoreElements, hasNext, next, nextElement, remove, setNextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Enumeration
asIteratorMethods inherited from interface java.util.Iterator
forEachRemaining 
- 
Field Details
- 
m_providerCurrent
The current AddressProvider. - 
m_iterAddress
The iterator of Addresses from the current provider. - 
m_iterProvider
The iterator of AddressProviders. 
 - 
 - 
Constructor Details
- 
AddressIterator
 
 - 
 - 
Method Details
- 
advance
protected void advance()Advance to the next object.This method must be implemented by the concrete sub-class by calling
AbstractStableIterator.setNext(T)if there is a next object.- Specified by:
 advancein classcom.oracle.coherence.common.collections.AbstractStableIterator
 - 
remove
Remove the specified item.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.- Overrides:
 removein classcom.oracle.coherence.common.collections.AbstractStableIterator- Parameters:
 oPrev- the previously iterated object that should be removed
 - 
getCurrentProvider
Return the current AddressProvider.- Returns:
 - the current AddressProvider
 
 
 -