Thanks Jody you have solved my many woes! :-)

Edward


Edward Smith wrote:
 > I have two FeatureCollections created using
 >
 > FeatureCollections.newCollection()
 >
 > One is for Points and the other Polygons.
 >
 > When adding my Features to the Collections, only the first is added the 
rest
 > return false on adding.
 >
That confuses me, the "default" implementation returned by newCollection
is based on a TreeSet or something and should do just fine - oh wait the
features you are adding all have different Feature IDs right? If you
added one feature with "null" ID, and then tried to add a second then
the you would fail (since ID is good enough for Feature equality).

Hope that is your bug, if not I am confused :-)

Jody


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job 
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users



Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to