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 2017/10/03 18:10:00 UTC
[jira] [Created] (UIMA-5603) uv3 make FSIterator implement Iterable
Marshall Schor created UIMA-5603:
------------------------------------
Summary: uv3 make FSIterator implement Iterable
Key: UIMA-5603
URL: https://issues.apache.org/jira/browse/UIMA-5603
Project: UIMA
Issue Type: Improvement
Components: Core Java Framework
Affects Versions: 3.0.0SDK-alpha02
Reporter: Marshall Schor
Assignee: Marshall Schor
Priority: Trivial
Fix For: 3.0.0SDK-beta
Forms like cas.getIndexRepository().getAllIndexedFSs(...) return an iterator. It would be nice to be able to use the returned result in an extended for : for (TOP x : cas.getInd... etc). Make FSIterator implement Iterable (returning itself, as a default method).
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)