uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marshall Schor (JIRA)" <...@uima.apache.org>
Subject [jira] [Commented] (UIMA-1524) JFSIndexRepository should be enhanced with new generic methods
Date Tue, 13 Sep 2016 19:53:20 GMT

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

Marshall Schor commented on UIMA-1524:
--------------------------------------

I tried to collect all the variables together and produce a generalized api for iterating
in V3, drawing from uimaFIT's select and friends. It's here: https://cwiki.apache.org/confluence/display/UIMA/UV3+Iterator+support

Comments appreciated.  The forms selectFollowing and friends which take an int, I thought
could be done using the stream operations, so didn't include those. If they're used a lot,
maybe they should be included...

> JFSIndexRepository should be enhanced with new generic methods
> --------------------------------------------------------------
>
>                 Key: UIMA-1524
>                 URL: https://issues.apache.org/jira/browse/UIMA-1524
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Core Java Framework
>    Affects Versions: 2.3
>            Reporter: Joern Kottmann
>
> Existing methods should be overloaded with an additional Class argument to specify the
exact return type. This changes make down casting of returned objects unnecessary. 



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

Mime
View raw message