uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörn Kottmann <kottm...@gmail.com>
Subject Re: generics: getViewIterator
Date Mon, 10 Aug 2009 18:47:00 GMT
Adam Lally wrote:
> So, bottom line, I say we stick with the recommendation of Brian
> Goetz's article and don't use wildcards in return types.
>   
Well after all this discussion I think thats only true
for cases like getViewIteraterator because of the reasons
given by Adam.

There are other cases in our API where it could make sense
to use wildcards together with a return.

Marshall already started a thread for createFilteredIterator which
I think is worth to discuss and it would be nice if we can also discuss
FSIndexRepository in this context.

Jörn

Mime
View raw message