From dev-return-35541-apmail-uima-dev-archive=uima.apache.org@uima.apache.org Tue Sep 27 15:26:20 2016 Return-Path: X-Original-To: apmail-uima-dev-archive@www.apache.org Delivered-To: apmail-uima-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F18F519480 for ; Tue, 27 Sep 2016 15:26:20 +0000 (UTC) Received: (qmail 43917 invoked by uid 500); 27 Sep 2016 15:26:20 -0000 Delivered-To: apmail-uima-dev-archive@uima.apache.org Received: (qmail 43884 invoked by uid 500); 27 Sep 2016 15:26:20 -0000 Mailing-List: contact dev-help@uima.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@uima.apache.org Delivered-To: mailing list dev@uima.apache.org Received: (qmail 43816 invoked by uid 99); 27 Sep 2016 15:26:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Sep 2016 15:26:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 79E2B2C0B04 for ; Tue, 27 Sep 2016 15:26:20 +0000 (UTC) Date: Tue, 27 Sep 2016 15:26:20 +0000 (UTC) From: "Richard Eckart de Castilho (JIRA)" To: dev@uima.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (UIMA-5115) uv3 select() api for iterators and streams over CAS contents MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/UIMA-5115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15526462#comment-15526462 ] Richard Eckart de Castilho commented on UIMA-5115: -------------------------------------------------- Ok, that looks interesting... have to look into it more... but right now I feel that a syntax like {code} // simple work-around for non-chaining type inferencing - supply the type FSIterator it3 = cas.select("my.Token").fsIterator(); {code} is beyond what can be expected even from advanced Java coders... I feel/fear it does not fulfill the aims of an intuitive and simple API. > 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)