> When I introduce generics to this picture I end up with more classes? We 
> best get specific...
> - CommonSuperClassThing<X,...>
> - ComplexDataStore extends CommonSuperClassThing<Feature,...>
> - DataStore extends CommonSuperClassThing<SimpleFeature,...>
Why do we have to add new classes? The only reason I would see is for 
convenience. I mean we just template datastore and the rest falls into 
place. I think the only classes we would have to create the superclass 
structure for would be DataStoreFactory.

ComplexDataStoreFactorySpi {
   DataStore<Feature> createDataStore(..);
}

DataStoreFactorySpi extends ComplexDataStoreFactory {
   DataStore<SimpleFeature> createDataStore(..)
}

I admit maybe i am missing something fundamental, i have never been 
great at generics.

-- 
Justin Deoliveira
The Open Planning Project
[EMAIL PROTECTED]

-------------------------------------------------------------------------
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-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to