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

Marshall Schor commented on UIMA-5207:
--------------------------------------

After looking at many things, I'm going to treat this as an exception, and 
commit it. 
Adding an interface to a class (e.g., adding "Iterable" to FSArray) will break 
backwards compatibility for anyone who has implemented a subtype of FSArray 
(for example) with their own extension which implemented their method iterator 
with a different signature.  I think this is quite unlikely.

> make FSArray/List, StringArray/list iterable
> --------------------------------------------
>
>                 Key: UIMA-5207
>                 URL: https://issues.apache.org/jira/browse/UIMA-5207
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Core Java Framework
>    Affects Versions: 2.9.0SDK
>            Reporter: Marshall Schor
>            Assignee: Marshall Schor
>            Priority: Minor
>             Fix For: 3.0.0SDKexp, 2.10.0SDK
>
>
> The common collection-style Feature Structures in UIMA could implement 
> iterable, to enable writing for loops over them.  Add these to the JCas impls 
> for those built-ins.



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

Reply via email to