You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Marshall Schor (JIRA)" <de...@uima.apache.org> on 2016/09/19 21:18:20 UTC
[jira] [Comment Edited] (UIMA-5115) uv3 select() api for iterators
and streams over CAS contents
[ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15504694#comment-15504694 ]
Marshall Schor edited comment on UIMA-5115 at 9/19/16 9:17 PM:
---------------------------------------------------------------
For UIMA-3724 and UIMA-3234, maybe use 3 methods:
* get() gets the single element or null
* single() gets the single element, throws if null or more than 1
* singleOrNull() gets the single element, returns null if no elements, throws if more than 1
was (Author: schor):
related feature requests to consider
> 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)