You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by Richard Eckart de Castilho <re...@apache.org> on 2016/09/27 09:43:54 UTC

Typesafty SelectFS API

> On 26.09.2016, at 21:45, Marshall Schor <ms...@schor.com> wrote:
> 
> I see other changes now :-).
> 
> One is the generic typing.  I was thinking that the first call to create a
> SelectFSs would "pass in the generic type" perhaps from an argument, or from a
> receiving argument.  The rest of the API calls, once you had this object, would
> propagate it.
> 
> It looks like you may have a nice extension - allowing the index and type
> methods to change the generic type, from the receiving argument.

Do you have any comments on this comment in Jira also related to typesafety?

https://issues.apache.org/jira/browse/UIMA-5115?focusedCommentId=15520448&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15520448

Cheers,

-- Richard

Re: Typesafty SelectFS API

Posted by Marshall Schor <ms...@schor.com>.
Hi Richard,

Sorry, I just haven't had time to digest this.  I need to try out some things to
see what Java does :-)

Thanks for pursuing! 

-Marshall

On 9/27/2016 5:43 AM, Richard Eckart de Castilho wrote:
>> On 26.09.2016, at 21:45, Marshall Schor <ms...@schor.com> wrote:
>>
>> I see other changes now :-).
>>
>> One is the generic typing.  I was thinking that the first call to create a
>> SelectFSs would "pass in the generic type" perhaps from an argument, or from a
>> receiving argument.  The rest of the API calls, once you had this object, would
>> propagate it.
>>
>> It looks like you may have a nice extension - allowing the index and type
>> methods to change the generic type, from the receiving argument.
> Do you have any comments on this comment in Jira also related to typesafety?
>
> https://issues.apache.org/jira/browse/UIMA-5115?focusedCommentId=15520448&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15520448
>
> Cheers,
>
> -- Richard