FileDocCategorySizeDatePackage
DistributedList.javaAPI DocExample1419Tue Apr 04 20:10:14 BST 2000com.imaginary.util

DistributedList

public class DistributedList extends ArrayList
Specializes in providing access to a list of objects via distributed iterators. Because enterprise applications may be accessing huge result sets, clients need the ability to get access to those results without downloading the entire result set at once. Thus, instead of storing lists as an ArrayList, an application stores them as a DistributedList. This class provides a specialized iterator() that returns a DistributedIterator.
Last modified $Date: 1999/11/06 18:38:04 $
version
$Revision: 1.1.1.1 $
author
George Reese (borg@imaginary.com)

Fields Summary
Constructors Summary
Methods Summary
public java.util.Iteratoriterator()

return
a DistributedIterator that provides the elements of the list on demand instead of all at once

        try {
            DistributedIteratorImpl di;
            
            di = new DistributedIteratorImpl(super.iterator());
            return new ClientIterator(di);
        }
        catch( RemoteException e ) {
            throw new NullPointerException(e.getMessage());
        }