You are going to have to use Query .... where the query has a sort order defined.
FeatureList list = (FeatureList) FeatureSource.getFeature( query ); FeatureList has been removed from GeoTools 2.4.0 (expected out this week?) because nobody subFeatureList... you will find the above technique works. Jody > I need to create a FeatureList from a FeatureCollection. How can I do this ? > "new SubFeatureList(collection, Filter.NONE)" doesn't work > (http://jira.codehaus.org/browse/GEOT-1571 - this ticket is not against > 2.3.x but the bug exists there as well). > > In particular I need to be able to traverse a collection backwards > (ListIterator). Please advise me on how I can do so. > > Thanks. > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
