Updated the pull request in response to feedback from Andrea and Micheal. 

- DataUtilities.close( Iterator )
- DataUtilities.first( SimpleFeatureCollection ): SimpleFeature
- DataUtilities.first( FeatureCollection<?,F> ): F
- DataUtilities.list( FeatureCollection<?,F> ): List<F>  // Already existed 
- DataUtilities.list( FeatureCollection<?,F>, int ): List<F>
- DataUtilities.iterator( FeatureIterator ): Iterator // also Closable 
- DataUtilities.collectionCast( FeatureCollection ): Collection 

A few other fixes:
- Code that can make use of the above methods has been updated
- RasterAsPointFeatureCollection now extends BaseFeatureCollection in order to 
avoid the use of WrappingIterator

-- 
Jody Garnett

------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to