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: [VOTE] generics: have methods returning objects infer the type from the receiving variable type
Date Wed, 12 Aug 2009 09:33:45 GMT
Marshall Schor wrote:
> On the normal scale of -1, 0, +1, to the proposition -
>
> have the generic form of many methods that are in the public API for
> UIMA that return UIMA objects, return a type which is inferred from the
> receiving typed variable,  versus having it return just one fixed type
> not inferred from the receiving typed variable,
>
> Marshall:  + .5   (somewhat in favor, but can live with not doing
> inference, perhaps implementing "internal" versions)
>
>   
-1, but there are a very few methods where type inferring
from the receiving typed variable would improve the calling
code.

Jörn

Mime
View raw message