base/common/src/main/com/thesett/common/util/distributed/DistributedList.java
public Iterator iterator()
    {
        try
        {
            DistributedIteratorImpl di;

            di = new DistributedIteratorImpl(super.iterator());

            return new ClientIterator(di);
        }
        catch (RemoteException e)
        {
            // Rethrow the RemoteException as a RuntimeException so as not to conflict with the interface of ArrayList
            throw new IllegalStateException("There was a RemoteExcpetion.", e);
        }
    }
public Iterator iterator()
    {
        try
        {
            DistributedIteratorImpl di;

            di = new DistributedIteratorImpl(super.iterator());

            return new ClientIterator(di);
        }
        catch (RemoteException e)
        {
            // Rethrow the RemoteException as a RuntimeException so as not to conflict with the interface of ArrayList
            throw new IllegalStateException("There was a RemoteExcpetion.", e);
        }
    }
Returns a distriubuted iterator that can provide elements of the list on demand over a remote connection.

@return A {@link com.thesett.common.util.distributed.DistributedIterator} that provides the elements of the list
on demand instead of all at once.