[
https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15507180#comment-15507180
]
Richard Eckart de Castilho commented on UIMA-5115:
--------------------------------------------------
So what you are suggesting is e.g.
*New variant*
{code}
jcas.select().type(Token.class).at(sentence).covered() // or
jcas.select().type(Token.class).covered().at(sentence)
{code}
instead of
*Old variant*
{code}
jcas.select().type(Token.class).coveredBy(sentence)
{code}
I am not very convinced... I think splitting the API up in this rather atomic
way makes it less intuitive/readable.
> 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)