net.refractions.udig.ui
Class ProgressFeatureCollection

java.lang.Object
  extended by AbstractFeatureCollection
      extended by net.refractions.udig.ui.ProgressFeatureCollection

public class ProgressFeatureCollection
extends AbstractFeatureCollection

This is a single use collection because the monitor is used by the iterators and since iterator doesn't take one then it can only be used once.

Since:
1.1.0
Author:
Jesse

Field Summary
protected  FeatureCollection delegate
           
protected  IProgressMonitor monitor
           
 
Constructor Summary
ProgressFeatureCollection(FeatureCollection delegate, IProgressMonitor monitor)
           
 
Method Summary
protected  void closeIterator(java.util.Iterator close)
           
protected  java.util.Iterator openIterator()
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

delegate

protected FeatureCollection delegate

monitor

protected IProgressMonitor monitor
Constructor Detail

ProgressFeatureCollection

public ProgressFeatureCollection(FeatureCollection delegate,
                                 IProgressMonitor monitor)
Method Detail

closeIterator

protected void closeIterator(java.util.Iterator close)

openIterator

protected java.util.Iterator openIterator()

size

public int size()