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

Richard Eckart de Castilho edited comment on UIMA-5115 at 9/20/16 3:51 PM:
---------------------------------------------------------------------------

I assume we still have TOP in UV3? Then IMHO the generics should be bounded by 
that and not by object. We also need to chain the return type through the API.

{noformat}
<NEW_TYPE extends TOP> SelectFSs<NEW_TYPE> type(Class<NEW_TYPE> 
jcasClass_dot_class);
{noformat}



was (Author: rec):
I assume we still have TOP in UV3? Then IMHO the generics should be bounded by 
that and not by object. We also need to chain the return type through the API.

{noformat}
<T extends TOP> SelectFSs<T> type(Class<T> jcasClass_dot_class);
{noformat}



> uv3 select() api for iterators and streams over CAS contents
> ------------------------------------------------------------
>
>                 Key: UIMA-5115
>                 URL: https://issues.apache.org/jira/browse/UIMA-5115
>             Project: UIMA
>          Issue Type: New Feature
>          Components: Core Java Framework
>            Reporter: Marshall Schor
>            Priority: Minor
>             Fix For: 3.0.0SDKexp
>
>
> Design and implement a select() API based on uimaFIT's select, integrated 
> well with Java 8 concepts.  Initial discussions in UIMA-1524.  Wiki with 
> diagram: https://cwiki.apache.org/confluence/display/UIMA/UV3+Iterator+support



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to